Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / Orcas / QFE / wpf / src / Core / CSharp / System / Windows / Input / Stylus / TabletDeviceInfo.cs / 1 / 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
- InstanceLockQueryResult.cs
- ThicknessAnimationBase.cs
- Publisher.cs
- TypeConverterHelper.cs
- MsmqIntegrationBindingCollectionElement.cs
- KnownBoxes.cs
- ListViewDeleteEventArgs.cs
- UInt16.cs
- SyndicationElementExtensionCollection.cs
- BasicCellRelation.cs
- InfoCardUIAgent.cs
- GridItemPattern.cs
- ByteStack.cs
- XmlSchemaProviderAttribute.cs
- CommonXSendMessage.cs
- RenamedEventArgs.cs
- StatusBarPanel.cs
- VisualStyleInformation.cs
- Fonts.cs
- FontFamilyIdentifier.cs
- ValidatingPropertiesEventArgs.cs
- XmlSchemaIdentityConstraint.cs
- CalendarDataBindingHandler.cs
- Debug.cs
- DataTableReader.cs
- SqlDataSourceSelectingEventArgs.cs
- PageCache.cs
- SqlTopReducer.cs
- ExtensionSimplifierMarkupObject.cs
- ReflectionTypeLoadException.cs
- PreviewKeyDownEventArgs.cs
- _StreamFramer.cs
- PartialCachingControl.cs
- Classification.cs
- LocatorBase.cs
- XamlToRtfParser.cs
- EncryptedType.cs
- CatalogPart.cs
- SafeFindHandle.cs
- PhysicalOps.cs
- KeyBinding.cs
- ViewEventArgs.cs
- PropertyIdentifier.cs
- Latin1Encoding.cs
- TextPenaltyModule.cs
- GridViewCancelEditEventArgs.cs
- RenderCapability.cs
- FontUnit.cs
- XmlSerializableWriter.cs
- RangeValueProviderWrapper.cs
- CreateDataSourceDialog.cs
- TextEmbeddedObject.cs
- DecoratedNameAttribute.cs
- CommandValueSerializer.cs
- ToolStripItemImageRenderEventArgs.cs
- DesignerHelpers.cs
- UserControl.cs
- ServerIdentity.cs
- HMACMD5.cs
- SystemResourceKey.cs
- InternalRelationshipCollection.cs
- DiagnosticEventProvider.cs
- ConnectionOrientedTransportElement.cs
- XmlWrappingReader.cs
- StandardToolWindows.cs
- ByteStreamMessageEncoder.cs
- _UriTypeConverter.cs
- Vector3D.cs
- HighContrastHelper.cs
- RecipientIdentity.cs
- CodeArgumentReferenceExpression.cs
- ContextQuery.cs
- Debug.cs
- MessageOperationFormatter.cs
- AsyncDataRequest.cs
- ClientBuildManager.cs
- DelimitedListTraceListener.cs
- JsonDataContract.cs
- BasePropertyDescriptor.cs
- KeyFrames.cs
- ListViewGroupItemCollection.cs
- GetWorkflowTree.cs
- Rules.cs
- DBNull.cs
- HttpBufferlessInputStream.cs
- AutomationPatternInfo.cs
- KeyMatchBuilder.cs
- FixedSOMTableRow.cs
- ExpressionBindings.cs
- QilInvokeEarlyBound.cs
- CacheHelper.cs
- BoundField.cs
- LexicalChunk.cs
- RelativeSource.cs
- FocusWithinProperty.cs
- XPathNodeInfoAtom.cs
- ThreadInterruptedException.cs
- TextRenderer.cs
- FileLevelControlBuilderAttribute.cs
- XmlChoiceIdentifierAttribute.cs