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
- FixedFindEngine.cs
- SqlNodeAnnotation.cs
- SecurityElementBase.cs
- AuthenticatingEventArgs.cs
- SecurityUtils.cs
- TreeBuilder.cs
- ActivationArguments.cs
- TextParagraphView.cs
- IQueryable.cs
- PhotoPrintingIntent.cs
- KeyValueConfigurationCollection.cs
- CSharpCodeProvider.cs
- CompiledXpathExpr.cs
- RoutingExtensionElement.cs
- ReversePositionQuery.cs
- StringAnimationBase.cs
- PersonalizationDictionary.cs
- XmlArrayItemAttributes.cs
- ValueTypeFieldReference.cs
- ProjectionPruner.cs
- KeyboardNavigation.cs
- UTF32Encoding.cs
- HatchBrush.cs
- CookieParameter.cs
- ScrollEvent.cs
- AspProxy.cs
- sqlinternaltransaction.cs
- StreamGeometry.cs
- DependencyObjectType.cs
- DetailsViewDeleteEventArgs.cs
- TextCompositionEventArgs.cs
- CodeSubDirectory.cs
- ViewValidator.cs
- TextSearch.cs
- ResourceDescriptionAttribute.cs
- DoubleAnimationUsingKeyFrames.cs
- FactoryRecord.cs
- DoubleAnimationBase.cs
- TrackingProfileDeserializationException.cs
- DictionaryKeyPropertyAttribute.cs
- SiteMapHierarchicalDataSourceView.cs
- SafeLibraryHandle.cs
- ClonableStack.cs
- DataSysAttribute.cs
- ProfileGroupSettingsCollection.cs
- RSAPKCS1KeyExchangeFormatter.cs
- NonParentingControl.cs
- mda.cs
- Context.cs
- RSAProtectedConfigurationProvider.cs
- BasicKeyConstraint.cs
- CornerRadiusConverter.cs
- DataServiceRequest.cs
- SqlException.cs
- XPathQilFactory.cs
- SoapSchemaImporter.cs
- ThreadPool.cs
- SafeEventLogReadHandle.cs
- WizardPanel.cs
- XmlRawWriter.cs
- WebResourceUtil.cs
- DataContractSerializerFaultFormatter.cs
- COAUTHIDENTITY.cs
- ReplacementText.cs
- GZipDecoder.cs
- GridItemCollection.cs
- RegexBoyerMoore.cs
- CollectionViewGroupRoot.cs
- DelegatingTypeDescriptionProvider.cs
- SqlDataSourceDesigner.cs
- ApplicationSettingsBase.cs
- UserControlAutomationPeer.cs
- PrintDialogException.cs
- ClickablePoint.cs
- UIPermission.cs
- FontDialog.cs
- SiteMapPath.cs
- StyleXamlParser.cs
- XmlUnspecifiedAttribute.cs
- ExpressionConverter.cs
- DataGrid.cs
- EasingKeyFrames.cs
- MetadataCacheItem.cs
- StringExpressionSet.cs
- MediaContextNotificationWindow.cs
- XmlILTrace.cs
- XmlCountingReader.cs
- __Filters.cs
- Int32Storage.cs
- PresentationTraceSources.cs
- OleDbFactory.cs
- PointLightBase.cs
- RepeatInfo.cs
- ChangeBlockUndoRecord.cs
- BrushMappingModeValidation.cs
- XmlIncludeAttribute.cs
- Underline.cs
- ActivityExecutionContextCollection.cs
- DiscoveryRequestHandler.cs
- DirectoryNotFoundException.cs