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
- HttpRawResponse.cs
- Win32Interop.cs
- PtsHost.cs
- XmlWrappingReader.cs
- GridViewItemAutomationPeer.cs
- exports.cs
- PersistenceTypeAttribute.cs
- SetterTriggerConditionValueConverter.cs
- DefaultBinder.cs
- StylusPlugin.cs
- Typography.cs
- XmlWrappingReader.cs
- DbQueryCommandTree.cs
- MultiByteCodec.cs
- FontInfo.cs
- HtmlWindowCollection.cs
- StylusPointPropertyId.cs
- ListBox.cs
- AsyncWaitHandle.cs
- UrlAuthorizationModule.cs
- EventInfo.cs
- PersonalizationStateQuery.cs
- BehaviorEditorPart.cs
- EntryPointNotFoundException.cs
- DllNotFoundException.cs
- XmlSchemaSimpleContent.cs
- NumericPagerField.cs
- AutoScrollHelper.cs
- SqlTrackingQuery.cs
- EntityCollectionChangedParams.cs
- ServicesExceptionNotHandledEventArgs.cs
- WebBrowserUriTypeConverter.cs
- OleDbParameterCollection.cs
- EventProperty.cs
- GridView.cs
- Line.cs
- _ContextAwareResult.cs
- CompositionTarget.cs
- SizeFConverter.cs
- UTF7Encoding.cs
- TerminatorSinks.cs
- ServiceModelPerformanceCounters.cs
- LinearGradientBrush.cs
- DataGridViewSelectedColumnCollection.cs
- Geometry3D.cs
- SamlDoNotCacheCondition.cs
- SchemaElement.cs
- NullableDecimalMinMaxAggregationOperator.cs
- HandlerBase.cs
- DependencyObject.cs
- regiisutil.cs
- RpcCryptoContext.cs
- SqlTriggerContext.cs
- CompositeActivityValidator.cs
- DesignerLoader.cs
- ControlBuilder.cs
- StrokeCollection2.cs
- AlphaSortedEnumConverter.cs
- HttpListenerException.cs
- KnownTypes.cs
- DuplicateWaitObjectException.cs
- XmlLangPropertyAttribute.cs
- HttpPostedFileWrapper.cs
- BaseCollection.cs
- XmlDomTextWriter.cs
- TableDetailsCollection.cs
- DataGridViewSelectedColumnCollection.cs
- TransformerInfoCollection.cs
- XsdDuration.cs
- HttpVersion.cs
- FontUnit.cs
- Bits.cs
- XmlSchemaValidator.cs
- TextLineResult.cs
- RuleSetDialog.cs
- CallbackWrapper.cs
- ObjectDataSource.cs
- XsltConvert.cs
- BasicViewGenerator.cs
- ScaleTransform.cs
- BmpBitmapEncoder.cs
- SHA256.cs
- SystemBrushes.cs
- HwndSourceKeyboardInputSite.cs
- UIElement.cs
- EndpointConfigContainer.cs
- StateDesigner.cs
- RenderDataDrawingContext.cs
- MgmtResManager.cs
- GridViewCommandEventArgs.cs
- ConfigurationErrorsException.cs
- ColorConvertedBitmap.cs
- SqlDataSourceEnumerator.cs
- OdbcError.cs
- CheckBoxPopupAdapter.cs
- SafeFreeMibTable.cs
- ExceptionHelpers.cs
- DirectoryInfo.cs
- HandlerWithFactory.cs
- UndoEngine.cs