Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / 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
- WmlCommandAdapter.cs
- HttpCachePolicyWrapper.cs
- Int32Animation.cs
- ScrollContentPresenter.cs
- CursorInteropHelper.cs
- DynamicValueConverter.cs
- PopupRootAutomationPeer.cs
- SwitchLevelAttribute.cs
- XmlCountingReader.cs
- TextElementCollection.cs
- BinaryExpressionHelper.cs
- LongPath.cs
- PackagePart.cs
- SapiInterop.cs
- ServiceTimeoutsBehavior.cs
- TagPrefixAttribute.cs
- AssemblyInfo.cs
- AsyncContentLoadedEventArgs.cs
- WorkflowViewElement.cs
- XmlComment.cs
- ScrollItemProviderWrapper.cs
- DelimitedListTraceListener.cs
- HttpResponseInternalWrapper.cs
- FileUpload.cs
- SynchronizedPool.cs
- DateTimeOffsetConverter.cs
- ListSortDescription.cs
- NestedContainer.cs
- FragmentQueryProcessor.cs
- XmlArrayAttribute.cs
- ConfigXmlDocument.cs
- Win32NamedPipes.cs
- DBCSCodePageEncoding.cs
- ConsoleCancelEventArgs.cs
- DataColumn.cs
- RoleGroupCollection.cs
- ErrorFormatter.cs
- safemediahandle.cs
- InfoCardService.cs
- ScaleTransform.cs
- DropShadowBitmapEffect.cs
- OleDbInfoMessageEvent.cs
- SchemaTableOptionalColumn.cs
- DependencyProperty.cs
- ClientFormsIdentity.cs
- Matrix.cs
- SpeakInfo.cs
- DtdParser.cs
- MulticastDelegate.cs
- TextContainerChangedEventArgs.cs
- Interfaces.cs
- JournalEntryStack.cs
- ToolStripDropTargetManager.cs
- JsonClassDataContract.cs
- XamlPointCollectionSerializer.cs
- DelegatingTypeDescriptionProvider.cs
- StringSource.cs
- DrawingAttributeSerializer.cs
- AtlasWeb.Designer.cs
- LookupNode.cs
- Executor.cs
- MediaSystem.cs
- TemplateContentLoader.cs
- JsonCollectionDataContract.cs
- ContractBase.cs
- SettingsSavedEventArgs.cs
- LinqDataSourceUpdateEventArgs.cs
- ConfigurationStrings.cs
- SecurityContext.cs
- ControlBuilderAttribute.cs
- Camera.cs
- XamlBrushSerializer.cs
- Typography.cs
- ParseElementCollection.cs
- XmlDictionaryReaderQuotas.cs
- PasswordBoxAutomationPeer.cs
- RoleGroupCollection.cs
- DatePickerAutomationPeer.cs
- ContainerControl.cs
- WebSysDisplayNameAttribute.cs
- HatchBrush.cs
- JsonSerializer.cs
- MenuAdapter.cs
- Constraint.cs
- BlurBitmapEffect.cs
- EntityDescriptor.cs
- ScanQueryOperator.cs
- SrgsElement.cs
- SelfIssuedAuthProofToken.cs
- DocumentEventArgs.cs
- DataGridColumn.cs
- DependencyPropertyConverter.cs
- Errors.cs
- Logging.cs
- IntSecurity.cs
- Unit.cs
- TypedTableBaseExtensions.cs
- NameValuePermission.cs
- StructuredType.cs
- WpfSharedBamlSchemaContext.cs