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 SecurityCriticalDataClass PimcTablet;
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 SecurityCriticalDataClass PimcTablet;
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
- EncryptedType.cs
- categoryentry.cs
- RectangleGeometry.cs
- ComplexTypeEmitter.cs
- ThemeDirectoryCompiler.cs
- PasswordBoxAutomationPeer.cs
- DateTimeUtil.cs
- Scripts.cs
- DataControlImageButton.cs
- DefaultHttpHandler.cs
- ProfileEventArgs.cs
- NamespaceMapping.cs
- TreeViewEvent.cs
- TreeNodeBindingCollection.cs
- XmlObjectSerializerWriteContextComplexJson.cs
- MultiplexingDispatchMessageFormatter.cs
- RewritingPass.cs
- OneWayChannelListener.cs
- InputScope.cs
- HtmlControl.cs
- StructuredTypeInfo.cs
- PositiveTimeSpanValidatorAttribute.cs
- XslCompiledTransform.cs
- InternalDispatchObject.cs
- XmlParserContext.cs
- XPathParser.cs
- VSWCFServiceContractGenerator.cs
- BitmapFrameEncode.cs
- WindowsPrincipal.cs
- EventEntry.cs
- KeyTimeConverter.cs
- RepeatBehaviorConverter.cs
- TypeInitializationException.cs
- TargetParameterCountException.cs
- ScrollData.cs
- EventMappingSettings.cs
- CqlErrorHelper.cs
- CodeArrayIndexerExpression.cs
- VisualBrush.cs
- SiteMapSection.cs
- SqlExpressionNullability.cs
- MobileListItemCollection.cs
- MyContact.cs
- RawAppCommandInputReport.cs
- XpsSerializationManagerAsync.cs
- DataRowChangeEvent.cs
- ECDsaCng.cs
- PartialCachingAttribute.cs
- MarshalDirectiveException.cs
- FamilyCollection.cs
- TextSelectionProcessor.cs
- GeometryHitTestParameters.cs
- ValidationRuleCollection.cs
- RectKeyFrameCollection.cs
- DesignOnlyAttribute.cs
- _SecureChannel.cs
- HashRepartitionEnumerator.cs
- PersianCalendar.cs
- UnknownBitmapDecoder.cs
- FormsAuthenticationConfiguration.cs
- ConditionalDesigner.cs
- SessionIDManager.cs
- IdentityValidationException.cs
- ExpressionReplacer.cs
- SoapAttributeAttribute.cs
- StorageComplexPropertyMapping.cs
- MultilineStringConverter.cs
- RegistrationServices.cs
- GridViewPageEventArgs.cs
- ZipQueryOperator.cs
- NamespaceInfo.cs
- hresults.cs
- MatrixCamera.cs
- DefaultAsyncDataDispatcher.cs
- EventListener.cs
- DataObjectEventArgs.cs
- DataSourceControlBuilder.cs
- ParameterCollectionEditor.cs
- HostingEnvironmentWrapper.cs
- WSHttpBinding.cs
- RegistryKey.cs
- ISAPIApplicationHost.cs
- SqlDataSourceCommandParser.cs
- ServicePointManagerElement.cs
- ObjectViewQueryResultData.cs
- CurrencyWrapper.cs
- Tile.cs
- ZipIOLocalFileBlock.cs
- ProfileSettings.cs
- SqlMethodTransformer.cs
- CombinedGeometry.cs
- KeyedHashAlgorithm.cs
- SqlUDTStorage.cs
- PackagePartCollection.cs
- SiteIdentityPermission.cs
- MatchNoneMessageFilter.cs
- CustomLineCap.cs
- TextContainerChangeEventArgs.cs
- KeyFrames.cs
- TraceContext.cs