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
- DataGridViewAutoSizeColumnModeEventArgs.cs
- SrgsGrammar.cs
- StaticDataManager.cs
- InsufficientMemoryException.cs
- InputReportEventArgs.cs
- WebPartMinimizeVerb.cs
- XmlUtf8RawTextWriter.cs
- Trigger.cs
- DataGridViewIntLinkedList.cs
- HostUtils.cs
- HwndSourceParameters.cs
- Relationship.cs
- NotConverter.cs
- SqlDataSourceCache.cs
- EFColumnProvider.cs
- Script.cs
- PropertyDescriptorGridEntry.cs
- FixedFindEngine.cs
- EllipseGeometry.cs
- CustomAttribute.cs
- CodeTypeDelegate.cs
- FixedSOMTable.cs
- SqlClientMetaDataCollectionNames.cs
- COM2EnumConverter.cs
- WindowsStatic.cs
- ToolStripPanelRenderEventArgs.cs
- ConstrainedDataObject.cs
- TextStore.cs
- WpfXamlType.cs
- XmlDocument.cs
- XmlCDATASection.cs
- EntityContainerEntitySetDefiningQuery.cs
- BitConverter.cs
- TextInfo.cs
- _ScatterGatherBuffers.cs
- OdbcFactory.cs
- MetafileHeader.cs
- Registry.cs
- Win32.cs
- CustomAttribute.cs
- LocationUpdates.cs
- CodeArgumentReferenceExpression.cs
- Hashtable.cs
- _FixedSizeReader.cs
- DataServiceHost.cs
- InputLangChangeEvent.cs
- TranslateTransform.cs
- PageParserFilter.cs
- LookupBindingPropertiesAttribute.cs
- DataBoundControlAdapter.cs
- MappingSource.cs
- ModelPropertyCollectionImpl.cs
- ToolBarButtonClickEvent.cs
- StandardOleMarshalObject.cs
- EntryPointNotFoundException.cs
- DataGridTable.cs
- PolyQuadraticBezierSegment.cs
- safemediahandle.cs
- counter.cs
- namescope.cs
- safex509handles.cs
- IndexedString.cs
- HyperLinkField.cs
- PathFigureCollectionValueSerializer.cs
- DataControlFieldCell.cs
- EventLogLink.cs
- PeerInvitationResponse.cs
- StylusLogic.cs
- TextServicesCompartmentEventSink.cs
- ValueTable.cs
- CacheSection.cs
- EnumerableRowCollectionExtensions.cs
- PackagePartCollection.cs
- DataGridViewUtilities.cs
- WindowsIPAddress.cs
- RangeBaseAutomationPeer.cs
- XhtmlBasicObjectListAdapter.cs
- ToolStripGripRenderEventArgs.cs
- UnmanagedHandle.cs
- LineInfo.cs
- ImpersonationContext.cs
- XmlNodeList.cs
- AppDomainManager.cs
- TreeBuilder.cs
- StrongNameIdentityPermission.cs
- MetadataCache.cs
- XmlFormatExtensionPointAttribute.cs
- ExpressionLexer.cs
- TextFragmentEngine.cs
- WebSysDefaultValueAttribute.cs
- HtmlElementEventArgs.cs
- DSACryptoServiceProvider.cs
- AuthenticationService.cs
- FileVersionInfo.cs
- MutexSecurity.cs
- SeverityFilter.cs
- ConfigurationFileMap.cs
- UdpAnnouncementEndpoint.cs
- BindingOperations.cs
- DocumentXPathNavigator.cs