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
- SmtpReplyReaderFactory.cs
- ScriptControlManager.cs
- IndexerNameAttribute.cs
- XmlSchemaSequence.cs
- XsltCompileContext.cs
- PersonalizationProviderHelper.cs
- ComPersistableTypeElement.cs
- ForEach.cs
- FrameSecurityDescriptor.cs
- Pens.cs
- RuleSettings.cs
- ButtonBase.cs
- LassoHelper.cs
- AxisAngleRotation3D.cs
- MemoryResponseElement.cs
- PathFigureCollection.cs
- IPeerNeighbor.cs
- NetTcpSecurityElement.cs
- CompressEmulationStream.cs
- ServiceDescriptionImporter.cs
- ArgIterator.cs
- SharedStatics.cs
- GifBitmapDecoder.cs
- BigInt.cs
- DynamicValidator.cs
- MultiAsyncResult.cs
- Compiler.cs
- DataSourceSelectArguments.cs
- ServicePointManager.cs
- JsonFormatGeneratorStatics.cs
- TreeNodeStyle.cs
- PerformanceCounterPermissionEntryCollection.cs
- AuthenticateEventArgs.cs
- SqlClientMetaDataCollectionNames.cs
- ProcessThreadCollection.cs
- Conditional.cs
- ExcludePathInfo.cs
- IERequestCache.cs
- ReachDocumentSequenceSerializer.cs
- XmlCustomFormatter.cs
- StickyNoteHelper.cs
- Constraint.cs
- Select.cs
- PositiveTimeSpanValidator.cs
- SHA384Managed.cs
- EventLogPermissionEntry.cs
- BrowserCapabilitiesCodeGenerator.cs
- JoinCqlBlock.cs
- FreeFormDesigner.cs
- SupportingTokenSecurityTokenResolver.cs
- TypeGenericEnumerableViewSchema.cs
- ApplicationGesture.cs
- RequestTimeoutManager.cs
- ContainerTracking.cs
- SmtpReplyReader.cs
- ImplicitInputBrush.cs
- DefaultConfirmation.cs
- SqlDataSourceView.cs
- _UncName.cs
- QilBinary.cs
- Operators.cs
- ObjectConverter.cs
- TextTreeInsertUndoUnit.cs
- XmlSchemaComplexContent.cs
- XmlAttributeProperties.cs
- TrustSection.cs
- COSERVERINFO.cs
- OleDbPermission.cs
- FontConverter.cs
- PtsCache.cs
- ToolboxItemSnapLineBehavior.cs
- DataGridToolTip.cs
- SplashScreenNativeMethods.cs
- FormsAuthenticationConfiguration.cs
- InstanceData.cs
- ActiveXSerializer.cs
- ImplicitInputBrush.cs
- DrawToolTipEventArgs.cs
- ChildDocumentBlock.cs
- PropertyFilterAttribute.cs
- TileModeValidation.cs
- AssociationTypeEmitter.cs
- EpmAttributeNameBuilder.cs
- UiaCoreApi.cs
- BidOverLoads.cs
- ObjectItemNoOpAssemblyLoader.cs
- NameValueSectionHandler.cs
- AutomationElementIdentifiers.cs
- BroadcastEventHelper.cs
- ConditionalAttribute.cs
- PeerCustomResolverElement.cs
- TypeInitializationException.cs
- VBCodeProvider.cs
- Matrix3DStack.cs
- HideDisabledControlAdapter.cs
- XmlUrlResolver.cs
- _NestedMultipleAsyncResult.cs
- WebBrowserNavigatedEventHandler.cs
- externdll.cs
- LocalizableResourceBuilder.cs