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
- MeshGeometry3D.cs
- translator.cs
- ManualResetEventSlim.cs
- ImmutableObjectAttribute.cs
- XamlReader.cs
- WebBrowser.cs
- UiaCoreProviderApi.cs
- CheckBox.cs
- AVElementHelper.cs
- ReadOnlyHierarchicalDataSource.cs
- CodeSnippetExpression.cs
- ProtocolsConfigurationHandler.cs
- DictionaryBase.cs
- DesignerForm.cs
- XmlIgnoreAttribute.cs
- ModelFunction.cs
- RayMeshGeometry3DHitTestResult.cs
- RegisteredArrayDeclaration.cs
- DataGridViewComboBoxEditingControl.cs
- ValidationResult.cs
- UnlockCardRequest.cs
- RootBrowserWindow.cs
- Deserializer.cs
- MutexSecurity.cs
- AssociatedControlConverter.cs
- HttpListenerResponse.cs
- TypeSource.cs
- MediaPlayerState.cs
- HttpResponseHeader.cs
- PageClientProxyGenerator.cs
- UserValidatedEventArgs.cs
- ScrollChrome.cs
- InlinedAggregationOperatorEnumerator.cs
- StoreItemCollection.Loader.cs
- SafeArrayTypeMismatchException.cs
- ConcurrentDictionary.cs
- DocumentOutline.cs
- ButtonChrome.cs
- ContravarianceAdapter.cs
- WebPartDesigner.cs
- XPathNavigatorReader.cs
- XmlSchemaExporter.cs
- Inline.cs
- TextReader.cs
- HashStream.cs
- Logging.cs
- ButtonStandardAdapter.cs
- ExtensionQuery.cs
- EntitySetBaseCollection.cs
- CorrelationTokenTypeConvertor.cs
- RoleGroup.cs
- SubMenuStyleCollection.cs
- DetailsViewDeletedEventArgs.cs
- securitymgrsite.cs
- SecurityElement.cs
- CounterSample.cs
- SqlPersistenceProviderFactory.cs
- SecurityKeyUsage.cs
- URLIdentityPermission.cs
- SmiRecordBuffer.cs
- MenuScrollingVisibilityConverter.cs
- MatrixUtil.cs
- DialogResultConverter.cs
- SqlClientWrapperSmiStream.cs
- SimpleFieldTemplateUserControl.cs
- TrackingLocationCollection.cs
- PasswordRecovery.cs
- ProfileEventArgs.cs
- DataObject.cs
- PageDeviceFont.cs
- FileRecordSequence.cs
- QueryOutputWriter.cs
- PeerApplicationLaunchInfo.cs
- XPathChildIterator.cs
- PropertyBuilder.cs
- PointUtil.cs
- DaylightTime.cs
- TargetControlTypeCache.cs
- WebPartEditorCancelVerb.cs
- SoundPlayer.cs
- ScrollEventArgs.cs
- ExpandCollapseIsCheckedConverter.cs
- MemoryRecordBuffer.cs
- WorkflowElementDialog.cs
- BaseCodeDomTreeGenerator.cs
- UseLicense.cs
- UrlRoutingModule.cs
- DesignerRegion.cs
- ColumnMapVisitor.cs
- MetadataProperty.cs
- ActivatedMessageQueue.cs
- CodeExpressionRuleDeclaration.cs
- AssemblyResourceLoader.cs
- GC.cs
- HttpPostProtocolReflector.cs
- DesignerAutoFormat.cs
- ToolTip.cs
- ParserStreamGeometryContext.cs
- URLAttribute.cs
- UIElement.cs