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
- PeerNameRecord.cs
- CqlLexerHelpers.cs
- PriorityQueue.cs
- NumberFunctions.cs
- XmlExpressionDumper.cs
- SoapExtension.cs
- Manipulation.cs
- EditingScopeUndoUnit.cs
- DataBoundControlHelper.cs
- AsyncOperation.cs
- DetailsViewDeleteEventArgs.cs
- IndexOutOfRangeException.cs
- SchemaElementLookUpTable.cs
- SecurityTokenValidationException.cs
- WebPartVerbCollection.cs
- MessageBox.cs
- DrawingContextWalker.cs
- XmlSchemaSimpleTypeList.cs
- CodeSnippetTypeMember.cs
- CookielessHelper.cs
- Rijndael.cs
- DependencyObjectType.cs
- CommandID.cs
- SyndicationElementExtensionCollection.cs
- TypeBrowserDialog.cs
- UnsafeNetInfoNativeMethods.cs
- FatalException.cs
- TemplatedControlDesigner.cs
- AttributeEmitter.cs
- OLEDB_Enum.cs
- BamlTreeUpdater.cs
- XamlReaderConstants.cs
- NonVisualControlAttribute.cs
- LocalServiceSecuritySettingsElement.cs
- XmlElementCollection.cs
- DataServiceHost.cs
- PeerCollaborationPermission.cs
- SafeSystemMetrics.cs
- StatusBarItemAutomationPeer.cs
- FixedStringLookup.cs
- Util.cs
- ToolStripArrowRenderEventArgs.cs
- WebBrowsableAttribute.cs
- KeyboardDevice.cs
- DateBoldEvent.cs
- HttpsHostedTransportConfiguration.cs
- TransactionFormatter.cs
- SerializationFieldInfo.cs
- EntityContainerEntitySet.cs
- MethodMessage.cs
- InternalBufferManager.cs
- MemberPath.cs
- WaitForChangedResult.cs
- Point.cs
- XmlText.cs
- RootAction.cs
- MultiSelectRootGridEntry.cs
- FontTypeConverter.cs
- TypeForwardedToAttribute.cs
- TagNameToTypeMapper.cs
- MemoryMappedView.cs
- RegistryKey.cs
- InternalCache.cs
- ReadOnlyHierarchicalDataSourceView.cs
- VBIdentifierName.cs
- ExpandCollapsePattern.cs
- DragDeltaEventArgs.cs
- CacheDependency.cs
- PackagingUtilities.cs
- EntityContainerAssociationSet.cs
- MediaElementAutomationPeer.cs
- TraceContextRecord.cs
- Comparer.cs
- DeferredTextReference.cs
- CodeAttributeDeclaration.cs
- SchemaImporterExtensionElementCollection.cs
- InfoCardTraceRecord.cs
- ColorIndependentAnimationStorage.cs
- SchemaElement.cs
- CanonicalFormWriter.cs
- KeyedHashAlgorithm.cs
- SchemaElementDecl.cs
- Command.cs
- RepeaterItemCollection.cs
- DateTimeHelper.cs
- parserscommon.cs
- NullableIntAverageAggregationOperator.cs
- HtmlDocument.cs
- WizardPanelChangingEventArgs.cs
- CharConverter.cs
- Vector3dCollection.cs
- ToolTip.cs
- CompilationUnit.cs
- Psha1DerivedKeyGenerator.cs
- Literal.cs
- BrushMappingModeValidation.cs
- bindurihelper.cs
- FormViewCommandEventArgs.cs
- UnsafeNativeMethods.cs
- LocatorManager.cs