Code:
/ 4.0 / 4.0 / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Core / CSharp / System / Windows / Input / Stylus / TabletDeviceInfo.cs / 1305600 / TabletDeviceInfo.cs
using System; using System.Collections.ObjectModel; using System.Security; using MS.Internal; using MS.Win32.Penimc; using System.Windows.Media; namespace System.Windows.Input { ///////////////////////////////////////////////////////////////////////// ////// The struct is used to store the tablet device size information. /// internal struct TabletDeviceSizeInfo { public Size TabletSize; public Size ScreenSize; // Constructor internal TabletDeviceSizeInfo(Size tabletSize, Size screenSize) { TabletSize = tabletSize; ScreenSize = screenSize; } } ///////////////////////////////////////////////////////////////////////// ////// The class is used to store tablet device information. /// internal class TabletDeviceInfo { ////// This data is not safe to expose as it holds refrence to IPimcTablet /// public SecurityCriticalDataClassPimcTablet; public int Id; public string Name; public string PlugAndPlayId; public TabletDeviceSizeInfo SizeInfo; public TabletHardwareCapabilities HardwareCapabilities; public TabletDeviceType DeviceType; public ReadOnlyCollection StylusPointProperties; public int PressureIndex; public StylusDeviceInfo[] StylusDevicesInfo; } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved. using System; using System.Collections.ObjectModel; using System.Security; using MS.Internal; using MS.Win32.Penimc; using System.Windows.Media; namespace System.Windows.Input { ///////////////////////////////////////////////////////////////////////// /// /// The struct is used to store the tablet device size information. /// internal struct TabletDeviceSizeInfo { public Size TabletSize; public Size ScreenSize; // Constructor internal TabletDeviceSizeInfo(Size tabletSize, Size screenSize) { TabletSize = tabletSize; ScreenSize = screenSize; } } ///////////////////////////////////////////////////////////////////////// ////// The class is used to store tablet device information. /// internal class TabletDeviceInfo { ////// This data is not safe to expose as it holds refrence to IPimcTablet /// public SecurityCriticalDataClassPimcTablet; public int Id; public string Name; public string PlugAndPlayId; public TabletDeviceSizeInfo SizeInfo; public TabletHardwareCapabilities HardwareCapabilities; public TabletDeviceType DeviceType; public ReadOnlyCollection StylusPointProperties; public int PressureIndex; public StylusDeviceInfo[] StylusDevicesInfo; } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- ControlUtil.cs
- DiscoveryMessageSequenceCD1.cs
- SQLConvert.cs
- TimersDescriptionAttribute.cs
- ObjectHandle.cs
- SwitchAttribute.cs
- typedescriptorpermissionattribute.cs
- BordersPage.cs
- SafeNativeHandle.cs
- SystemColors.cs
- SerializerProvider.cs
- RectIndependentAnimationStorage.cs
- oledbmetadatacollectionnames.cs
- MessageQueueEnumerator.cs
- ConfigurationConverterBase.cs
- PageAdapter.cs
- SqlProvider.cs
- MouseActionValueSerializer.cs
- ProcessModelInfo.cs
- MobileControlsSectionHelper.cs
- PropertyChangeTracker.cs
- PackageDigitalSignature.cs
- HtmlElementCollection.cs
- VirtualDirectoryMappingCollection.cs
- SelectionChangedEventArgs.cs
- PrivilegeNotHeldException.cs
- PenThreadWorker.cs
- TempFiles.cs
- XmlCustomFormatter.cs
- Base64Decoder.cs
- VectorAnimationBase.cs
- ProbeDuplex11AsyncResult.cs
- WebEvents.cs
- PointAnimationBase.cs
- TripleDES.cs
- GroupDescription.cs
- XmlComment.cs
- Animatable.cs
- DeviceFilterDictionary.cs
- ListItemParagraph.cs
- DocumentPaginator.cs
- OdbcConnectionString.cs
- Viewport3DAutomationPeer.cs
- BitmapMetadataEnumerator.cs
- DispatchWrapper.cs
- autovalidator.cs
- ValidationError.cs
- SqlCacheDependencyDatabaseCollection.cs
- XPathScanner.cs
- IsolatedStorageFile.cs
- Converter.cs
- Stackframe.cs
- AutomationPattern.cs
- PassportAuthenticationModule.cs
- XXXOnTypeBuilderInstantiation.cs
- SiteMapNodeItem.cs
- ControlAdapter.cs
- Queue.cs
- ListBindingConverter.cs
- MetadataHelper.cs
- ExcludePathInfo.cs
- ControlPaint.cs
- ProxyHwnd.cs
- Content.cs
- SkinIDTypeConverter.cs
- OdbcConnectionString.cs
- OpacityConverter.cs
- DescendantOverDescendantQuery.cs
- Brush.cs
- TextSelectionProcessor.cs
- XmlQueryType.cs
- JsonMessageEncoderFactory.cs
- BindingGroup.cs
- DynamicRouteExpression.cs
- ParameterToken.cs
- DynamicMethod.cs
- RulePatternOps.cs
- ToolStripCollectionEditor.cs
- UnionCodeGroup.cs
- GlobalItem.cs
- CloseSequenceResponse.cs
- DataStreams.cs
- ConditionalExpression.cs
- FixedSOMLineRanges.cs
- DBSqlParserColumnCollection.cs
- ImageList.cs
- AppDomain.cs
- DoubleLinkList.cs
- ToolStripMenuItemDesigner.cs
- SoapObjectInfo.cs
- EdmRelationshipRoleAttribute.cs
- CellTreeNode.cs
- DataGridRelationshipRow.cs
- ToolStripSettings.cs
- _SSPIWrapper.cs
- DataGridViewAutoSizeModeEventArgs.cs
- SimpleTextLine.cs
- SessionChannels.cs
- SecurityDescriptor.cs
- XmlSchemaExternal.cs