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
- PrintController.cs
- OrderedParallelQuery.cs
- MessageHeaders.cs
- Quaternion.cs
- RuntimeEnvironment.cs
- DataBoundControlAdapter.cs
- Geometry3D.cs
- _TLSstream.cs
- Schema.cs
- SQLRoleProvider.cs
- XmlConverter.cs
- QilInvokeLateBound.cs
- CardSpaceShim.cs
- CornerRadiusConverter.cs
- Oid.cs
- Model3DCollection.cs
- RuntimeHelpers.cs
- PageCodeDomTreeGenerator.cs
- ConditionalDesigner.cs
- StrokeDescriptor.cs
- WorkflowHostingEndpoint.cs
- VerificationException.cs
- ContextDataSourceContextData.cs
- Stack.cs
- InvalidAsynchronousStateException.cs
- UrlPropertyAttribute.cs
- SecurityTokenResolver.cs
- ListViewSelectEventArgs.cs
- SQLInt64.cs
- WebPartMovingEventArgs.cs
- Registry.cs
- SchemaExporter.cs
- XmlUtf8RawTextWriter.cs
- ExtensionSimplifierMarkupObject.cs
- TailPinnedEventArgs.cs
- DefaultObjectMappingItemCollection.cs
- _CacheStreams.cs
- CubicEase.cs
- XmlReaderSettings.cs
- LayoutTable.cs
- LabelLiteral.cs
- StylusPointProperties.cs
- Processor.cs
- SimpleHandlerBuildProvider.cs
- MenuEventArgs.cs
- LicenseProviderAttribute.cs
- X509ChainElement.cs
- httpserverutility.cs
- PolicyConversionContext.cs
- HttpCacheParams.cs
- SqlCacheDependencySection.cs
- EventListener.cs
- SQLMoneyStorage.cs
- SQLStringStorage.cs
- SchemaUtility.cs
- WpfKnownMember.cs
- CalendarTable.cs
- SqlResolver.cs
- XhtmlBasicLabelAdapter.cs
- FixedSOMElement.cs
- ConfigXmlWhitespace.cs
- ReadOnlyDictionary.cs
- ReadOnlyObservableCollection.cs
- ImageList.cs
- ExpressionValueEditor.cs
- securitymgrsite.cs
- DateTimeUtil.cs
- PtsHelper.cs
- StickyNoteHelper.cs
- FlowDocumentScrollViewer.cs
- Directory.cs
- TimeSpanValidatorAttribute.cs
- SmuggledIUnknown.cs
- SpecialTypeDataContract.cs
- HwndSourceKeyboardInputSite.cs
- FileRecordSequenceCompletedAsyncResult.cs
- XmlDataLoader.cs
- XpsDocument.cs
- PersonalizationStateInfoCollection.cs
- SessionPageStatePersister.cs
- RawStylusInputCustomData.cs
- OdbcPermission.cs
- PersonalizationProviderHelper.cs
- RedistVersionInfo.cs
- _LocalDataStoreMgr.cs
- TextElementEditingBehaviorAttribute.cs
- CreateUserWizardStep.cs
- sqlnorm.cs
- ElementUtil.cs
- BoolLiteral.cs
- WebPartAuthorizationEventArgs.cs
- LocalizationCodeDomSerializer.cs
- EncodingInfo.cs
- HyperLinkDesigner.cs
- RuntimeHandles.cs
- DataServiceHostFactory.cs
- DependsOnAttribute.cs
- MediaPlayerState.cs
- ApplyImportsAction.cs
- XmlSchemaValidationException.cs