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
- SplitterDesigner.cs
- TextAnchor.cs
- Version.cs
- HttpResponseInternalWrapper.cs
- Ipv6Element.cs
- ResolveDuplexCD1AsyncResult.cs
- EnumMember.cs
- PagePropertiesChangingEventArgs.cs
- SizeFConverter.cs
- SmiRecordBuffer.cs
- ColumnMapTranslator.cs
- DatePickerDateValidationErrorEventArgs.cs
- DataControlLinkButton.cs
- QueryInterceptorAttribute.cs
- SafeEventLogWriteHandle.cs
- PermissionSet.cs
- CodeCommentStatement.cs
- Content.cs
- PageThemeCodeDomTreeGenerator.cs
- HttpStaticObjectsCollectionWrapper.cs
- ValidatedControlConverter.cs
- ThicknessConverter.cs
- InvalidOleVariantTypeException.cs
- RowToParametersTransformer.cs
- SharedStatics.cs
- remotingproxy.cs
- RoutedEventArgs.cs
- MemoryMappedFileSecurity.cs
- MethodBuilder.cs
- GeneralTransform3DTo2DTo3D.cs
- TraceInternal.cs
- MarkerProperties.cs
- GridViewUpdatedEventArgs.cs
- TTSEvent.cs
- EntityCollection.cs
- VoiceObjectToken.cs
- TextOnlyOutput.cs
- SystemUdpStatistics.cs
- ContextMarshalException.cs
- ListSourceHelper.cs
- Decoder.cs
- PointAnimationBase.cs
- CodeExporter.cs
- CommonObjectSecurity.cs
- DeviceOverridableAttribute.cs
- RemotingServices.cs
- IntellisenseTextBox.cs
- Panel.cs
- ValidatorAttribute.cs
- EventEntry.cs
- StringToken.cs
- EditorZoneBase.cs
- ResourcePart.cs
- DecoderExceptionFallback.cs
- NavigationPropertyEmitter.cs
- TrackingWorkflowEventArgs.cs
- TemplateInstanceAttribute.cs
- HttpListenerResponse.cs
- CodeDOMProvider.cs
- SoapCodeExporter.cs
- DescendentsWalkerBase.cs
- HtmlInputPassword.cs
- IIS7WorkerRequest.cs
- JsonStringDataContract.cs
- EntityParameter.cs
- XmlSchemaType.cs
- Style.cs
- BooleanSwitch.cs
- WpfGeneratedKnownTypes.cs
- ObjectAnimationUsingKeyFrames.cs
- SQLDouble.cs
- Select.cs
- GenericTextProperties.cs
- EdmMember.cs
- MemoryPressure.cs
- ServicesUtilities.cs
- BinaryMessageFormatter.cs
- ParameterCollection.cs
- SevenBitStream.cs
- VisualStyleInformation.cs
- MenuItem.cs
- SqlServices.cs
- WorkflowOperationContext.cs
- AffineTransform3D.cs
- DataGridComponentEditor.cs
- SmiEventSink_Default.cs
- CodeLinePragma.cs
- PolyBezierSegment.cs
- IdleTimeoutMonitor.cs
- ObjectTypeMapping.cs
- wgx_render.cs
- SmtpReplyReader.cs
- SourceFileInfo.cs
- AppDomainFactory.cs
- SqlUtil.cs
- HostDesigntimeLicenseContext.cs
- TypeConverterHelper.cs
- ConnectorRouter.cs
- XLinq.cs
- XamlStyleSerializer.cs