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
- DefaultAssemblyResolver.cs
- FullTextBreakpoint.cs
- ResourceDisplayNameAttribute.cs
- XmlEncodedRawTextWriter.cs
- CursorInteropHelper.cs
- SqlDependencyUtils.cs
- XmlSerializationReader.cs
- SelectionEditor.cs
- BackoffTimeoutHelper.cs
- SecurityManager.cs
- CodePageEncoding.cs
- SchemaElementDecl.cs
- ObjectQuery_EntitySqlExtensions.cs
- PolyLineSegment.cs
- PointAnimation.cs
- TextView.cs
- CertificateManager.cs
- MenuScrollingVisibilityConverter.cs
- WindowsAuthenticationEventArgs.cs
- TextTreeRootTextBlock.cs
- SqlConnectionPoolProviderInfo.cs
- ProjectionPath.cs
- Msec.cs
- DockProviderWrapper.cs
- LineSegment.cs
- Comparer.cs
- Parsers.cs
- CodeAccessPermission.cs
- Int32Rect.cs
- PanelStyle.cs
- Literal.cs
- DataGridViewRowCollection.cs
- Converter.cs
- HelpKeywordAttribute.cs
- AddInBase.cs
- InternalControlCollection.cs
- PrintDocument.cs
- GenericAuthenticationEventArgs.cs
- CloudCollection.cs
- WsdlBuildProvider.cs
- FastPropertyAccessor.cs
- OdbcFactory.cs
- EventProviderWriter.cs
- SizeChangedInfo.cs
- FieldTemplateFactory.cs
- FormViewCommandEventArgs.cs
- WorkflowViewManager.cs
- httpserverutility.cs
- NativeCompoundFileAPIs.cs
- _NegoStream.cs
- ModelItemKeyValuePair.cs
- LicFileLicenseProvider.cs
- SchemaElement.cs
- SiteOfOriginContainer.cs
- KernelTypeValidation.cs
- DrawingContextWalker.cs
- ObjectRef.cs
- MenuItemBinding.cs
- MouseGesture.cs
- ProcessHostMapPath.cs
- SelectedGridItemChangedEvent.cs
- ListViewDataItem.cs
- DynamicRenderer.cs
- LogManagementAsyncResult.cs
- CryptoKeySecurity.cs
- KeyConverter.cs
- MarshalByRefObject.cs
- CompilerHelpers.cs
- PersonalizablePropertyEntry.cs
- ShimAsPublicXamlType.cs
- CachedPathData.cs
- CommonDialog.cs
- EntityEntry.cs
- CacheForPrimitiveTypes.cs
- ComponentEditorPage.cs
- IntegrationExceptionEventArgs.cs
- GroupDescription.cs
- OracleCommandBuilder.cs
- PreProcessor.cs
- TdsParserSafeHandles.cs
- MinMaxParagraphWidth.cs
- WorkflowApplicationCompletedException.cs
- DataObject.cs
- WindowsListViewItem.cs
- OracleBinary.cs
- DataServiceQuery.cs
- HtmlTableRow.cs
- XmlAnyElementAttributes.cs
- EndpointAddressMessageFilter.cs
- ContainerUtilities.cs
- HttpFileCollectionBase.cs
- RadioButtonPopupAdapter.cs
- DetailsViewUpdatedEventArgs.cs
- ResourceReferenceExpression.cs
- CallTemplateAction.cs
- BuildProvider.cs
- ReflectionTypeLoadException.cs
- HttpWebRequest.cs
- SessionStateModule.cs
- ApplicationFileParser.cs