Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / Orcas / NetFXw7 / 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
- WebPartUtil.cs
- SchemaSetCompiler.cs
- WindowsListViewScroll.cs
- CategoryAttribute.cs
- DbModificationCommandTree.cs
- ContractMethodParameterInfo.cs
- FileSystemEventArgs.cs
- NativeMethodsCLR.cs
- SqlDataSourceView.cs
- CodeTryCatchFinallyStatement.cs
- Instrumentation.cs
- AttributeSetAction.cs
- QilTernary.cs
- ProcessHost.cs
- ScriptResourceAttribute.cs
- XmlSerializerVersionAttribute.cs
- SQLDouble.cs
- HandlerFactoryCache.cs
- DataGridCell.cs
- OperationAbortedException.cs
- RadioButtonList.cs
- FaultHandlingFilter.cs
- ExtensionSurface.cs
- FrameworkElementFactoryMarkupObject.cs
- AtomicFile.cs
- Debug.cs
- PropertyChangingEventArgs.cs
- DbProviderFactoriesConfigurationHandler.cs
- shaperfactoryquerycacheentry.cs
- ImportCatalogPart.cs
- ContextMenu.cs
- MetadataItemCollectionFactory.cs
- Parser.cs
- StreamGeometry.cs
- ConfigurationSectionGroup.cs
- EditorBrowsableAttribute.cs
- InfoCardKeyedHashAlgorithm.cs
- LowerCaseStringConverter.cs
- InvalidDataContractException.cs
- MULTI_QI.cs
- Logging.cs
- DataProviderNameConverter.cs
- EUCJPEncoding.cs
- WindowCollection.cs
- OdbcCommandBuilder.cs
- SupportsEventValidationAttribute.cs
- FactoryId.cs
- ActivationArguments.cs
- CodeConstructor.cs
- DoubleStorage.cs
- TripleDES.cs
- FocusWithinProperty.cs
- JavaScriptSerializer.cs
- ParseChildrenAsPropertiesAttribute.cs
- BaseCodePageEncoding.cs
- SqlNamer.cs
- RuntimeCompatibilityAttribute.cs
- XmlWhitespace.cs
- DefaultCompensation.cs
- LocalIdKeyIdentifierClause.cs
- AudioDeviceOut.cs
- AdornerLayer.cs
- _IPv4Address.cs
- IdleTimeoutMonitor.cs
- SecurityContextCookieSerializer.cs
- SimplePropertyEntry.cs
- CodeDOMUtility.cs
- WebPartZoneBase.cs
- LinqDataSourceDisposeEventArgs.cs
- PreProcessor.cs
- LeftCellWrapper.cs
- PointAnimationClockResource.cs
- TableLayoutRowStyleCollection.cs
- XmlQueryCardinality.cs
- TreeViewImageKeyConverter.cs
- HasActivatableWorkflowEvent.cs
- ContentElement.cs
- TextCharacters.cs
- OleDbParameter.cs
- RadioButtonFlatAdapter.cs
- ChildDocumentBlock.cs
- ComPersistableTypeElement.cs
- GetCardDetailsRequest.cs
- ExtensionQuery.cs
- SmiMetaData.cs
- MsmqBindingElementBase.cs
- MediaScriptCommandRoutedEventArgs.cs
- HttpModuleAction.cs
- QuotedStringFormatReader.cs
- ProfileEventArgs.cs
- Journal.cs
- BordersPage.cs
- UInt64Converter.cs
- InfoCard.cs
- TextRunProperties.cs
- SendingRequestEventArgs.cs
- PersonalizationStateInfoCollection.cs
- PerformanceCounterManager.cs
- UshortList2.cs
- OpenTypeLayout.cs