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
- _ConnectOverlappedAsyncResult.cs
- NullReferenceException.cs
- DataException.cs
- OleDbCommand.cs
- AsyncParams.cs
- HttpCacheParams.cs
- SizeChangedInfo.cs
- XmlStreamStore.cs
- MobileSysDescriptionAttribute.cs
- HWStack.cs
- KeyTime.cs
- TableParaClient.cs
- SecurityImpersonationBehavior.cs
- JsonFormatReaderGenerator.cs
- SystemIPAddressInformation.cs
- ProfileSettings.cs
- cookieexception.cs
- CaretElement.cs
- CreateRefExpr.cs
- RemotingException.cs
- BitmapEffectInput.cs
- Int32EqualityComparer.cs
- Formatter.cs
- UIAgentRequest.cs
- MgmtConfigurationRecord.cs
- TextSimpleMarkerProperties.cs
- Span.cs
- WebResponse.cs
- StateMachineExecutionState.cs
- StaticExtensionConverter.cs
- ChannelFactoryBase.cs
- PathData.cs
- Module.cs
- SqlDuplicator.cs
- ColorTransform.cs
- CodeDirectoryCompiler.cs
- XPathSingletonIterator.cs
- ValidationUtility.cs
- PointKeyFrameCollection.cs
- SecurityCriticalDataForSet.cs
- WeakReferenceKey.cs
- SQLInt32.cs
- PrimitiveRenderer.cs
- precedingquery.cs
- XamlReader.cs
- Messages.cs
- SecurityState.cs
- querybuilder.cs
- Permission.cs
- DataSetUtil.cs
- HebrewNumber.cs
- StaticContext.cs
- ProcessHost.cs
- PageAsyncTaskManager.cs
- RegistrySecurity.cs
- VarInfo.cs
- FlowDecision.cs
- SafeBitVector32.cs
- TreeViewItem.cs
- FacetValueContainer.cs
- XmlTextReaderImpl.cs
- ComplexBindingPropertiesAttribute.cs
- XmlValidatingReaderImpl.cs
- BamlResourceSerializer.cs
- X500Name.cs
- ProjectionPathBuilder.cs
- X509Utils.cs
- GroupBox.cs
- WebPartMenuStyle.cs
- XmlSchemaSimpleType.cs
- TableLayoutStyle.cs
- Geometry3D.cs
- TransformCollection.cs
- AuthenticationService.cs
- CalendarDay.cs
- IntSecurity.cs
- BasicHttpSecurityElement.cs
- BinaryMessageFormatter.cs
- EntityCommandDefinition.cs
- JsonStringDataContract.cs
- PointLightBase.cs
- ObjectPersistData.cs
- recordstate.cs
- PaperSource.cs
- DataSourceControl.cs
- EnumMember.cs
- ToolStripContentPanelRenderEventArgs.cs
- FlowDocument.cs
- DesignSurface.cs
- TextRangeEditLists.cs
- OdbcTransaction.cs
- FixedBufferAttribute.cs
- WmlObjectListAdapter.cs
- DirectoryInfo.cs
- EntityDataSourceStatementEditorForm.cs
- CodeVariableDeclarationStatement.cs
- Msec.cs
- XmlElementList.cs
- PrintPreviewGraphics.cs
- LoadMessageLogger.cs