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
- ListSortDescription.cs
- LineServices.cs
- Html32TextWriter.cs
- HtmlInputCheckBox.cs
- WorkflowInlining.cs
- CustomTypeDescriptor.cs
- DependencySource.cs
- WebPartConnectionsConnectVerb.cs
- HMACSHA384.cs
- Scene3D.cs
- XmlTextEncoder.cs
- CodeIterationStatement.cs
- IncrementalCompileAnalyzer.cs
- PathSegmentCollection.cs
- SqlDataSourceConfigureFilterForm.cs
- ExpressionWriter.cs
- LineInfo.cs
- IsolatedStorage.cs
- ListBindingHelper.cs
- RuntimeCompatibilityAttribute.cs
- ToolStripDropDown.cs
- MemberHolder.cs
- DataGridBeginningEditEventArgs.cs
- LinkDesigner.cs
- DateTimeStorage.cs
- CodeDirectionExpression.cs
- PropertyReference.cs
- UICuesEvent.cs
- LinkedResourceCollection.cs
- Classification.cs
- StreamGeometryContext.cs
- DebugView.cs
- WebPartTransformer.cs
- BufferedMessageData.cs
- _ConnectOverlappedAsyncResult.cs
- KeyFrames.cs
- DocumentEventArgs.cs
- documentsequencetextcontainer.cs
- CmsInterop.cs
- CodeAttachEventStatement.cs
- Token.cs
- DoubleAnimationUsingPath.cs
- HttpCapabilitiesSectionHandler.cs
- XPathNavigator.cs
- PackageDigitalSignatureManager.cs
- BitmapFrameDecode.cs
- AuthenticatingEventArgs.cs
- ConnectionsZone.cs
- SplitterEvent.cs
- SettingsAttributes.cs
- HtmlDocument.cs
- WmfPlaceableFileHeader.cs
- WizardDesigner.cs
- IsolatedStorageFile.cs
- AppDomainAttributes.cs
- GACMembershipCondition.cs
- EpmTargetTree.cs
- StreamReader.cs
- externdll.cs
- BitmapMetadataEnumerator.cs
- DataSourceView.cs
- GroupBox.cs
- DebugView.cs
- EventLogPermissionAttribute.cs
- DomainConstraint.cs
- SkinBuilder.cs
- ArgumentException.cs
- BaseAsyncResult.cs
- SmtpAuthenticationManager.cs
- PropertyDescriptors.cs
- precedingsibling.cs
- x509utils.cs
- MemoryStream.cs
- BrowserInteropHelper.cs
- TypeExtensionConverter.cs
- RequiredFieldValidator.cs
- MediaCommands.cs
- SecurityDescriptor.cs
- WindowsUpDown.cs
- Intellisense.cs
- InternalCache.cs
- FactoryGenerator.cs
- ContractBase.cs
- DesignerTextWriter.cs
- IItemProperties.cs
- NoPersistScope.cs
- ByteStream.cs
- DrawingContextDrawingContextWalker.cs
- ContractUtils.cs
- LocalizableResourceBuilder.cs
- ExpressionPrinter.cs
- SoapObjectWriter.cs
- ProcessRequestAsyncResult.cs
- DispatcherObject.cs
- UInt64Storage.cs
- ProcessThread.cs
- MimeReflector.cs
- RbTree.cs
- Ref.cs
- FragmentNavigationEventArgs.cs