Code:
/ 4.0 / 4.0 / untmp / 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.
Link Menu

This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- SiteMapSection.cs
- ProtocolsConfigurationEntry.cs
- InputLanguage.cs
- RootBrowserWindow.cs
- XPathScanner.cs
- TextDecorationUnitValidation.cs
- Script.cs
- InvokePatternIdentifiers.cs
- NonParentingControl.cs
- TailCallAnalyzer.cs
- UInt64Converter.cs
- InputLanguageCollection.cs
- DataGridViewCellStyleContentChangedEventArgs.cs
- CfgParser.cs
- StylusPointProperties.cs
- LinkedList.cs
- UInt16.cs
- WhitespaceRuleLookup.cs
- NullableBoolConverter.cs
- X509SecurityToken.cs
- RemotingConfiguration.cs
- WeakEventManager.cs
- XmlChildEnumerator.cs
- ConnectionStringSettings.cs
- ErrorStyle.cs
- HwndHost.cs
- DifferencingCollection.cs
- SaveFileDialog.cs
- ProfileManager.cs
- ItemsControlAutomationPeer.cs
- IOThreadScheduler.cs
- KnownTypeHelper.cs
- ToolZone.cs
- StandardBindingOptionalReliableSessionElement.cs
- FamilyTypefaceCollection.cs
- RecoverInstanceLocksCommand.cs
- WizardDesigner.cs
- BitmapCache.cs
- ProviderUtil.cs
- ExpressionBindings.cs
- EventMappingSettingsCollection.cs
- BoundingRectTracker.cs
- SqlDataReader.cs
- UniqueIdentifierService.cs
- DataGridViewAccessibleObject.cs
- ImageFormatConverter.cs
- ControlCachePolicy.cs
- XamlWrapperReaders.cs
- CodeChecksumPragma.cs
- HorizontalAlignConverter.cs
- COM2ColorConverter.cs
- Label.cs
- NativeConfigurationLoader.cs
- RealizedColumnsBlock.cs
- MsmqIntegrationAppDomainProtocolHandler.cs
- CollaborationHelperFunctions.cs
- XmlSchemaAppInfo.cs
- VScrollProperties.cs
- ExceptionRoutedEventArgs.cs
- formatter.cs
- Bold.cs
- KnownTypesHelper.cs
- PermissionSet.cs
- CompilationLock.cs
- ContainerParaClient.cs
- WebPartEditorApplyVerb.cs
- PowerStatus.cs
- EnumConverter.cs
- CustomAttribute.cs
- WCFModelStrings.Designer.cs
- TemplateManager.cs
- WebPartMinimizeVerb.cs
- XPathParser.cs
- EditorPartChrome.cs
- DataStreamFromComStream.cs
- EnumMemberAttribute.cs
- InvalidComObjectException.cs
- CompositeFontFamily.cs
- CodeParameterDeclarationExpression.cs
- MessageFormatterConverter.cs
- CultureInfo.cs
- ConsumerConnectionPointCollection.cs
- DataGridViewAccessibleObject.cs
- PolyQuadraticBezierSegment.cs
- ViewUtilities.cs
- RegularExpressionValidator.cs
- DragEventArgs.cs
- ListBoxChrome.cs
- UnsafeNetInfoNativeMethods.cs
- NullReferenceException.cs
- IntSecurity.cs
- contentDescriptor.cs
- NodeFunctions.cs
- CommentAction.cs
- XPathDocumentBuilder.cs
- RefreshEventArgs.cs
- ISAPIRuntime.cs
- SafeNativeMethods.cs
- PropertyPathWorker.cs
- XamlSerializerUtil.cs