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
- LocatorBase.cs
- SecUtil.cs
- CodeSubDirectoriesCollection.cs
- WebRequest.cs
- SqlDesignerDataSourceView.cs
- SizeConverter.cs
- TextCollapsingProperties.cs
- MediaPlayer.cs
- SByteStorage.cs
- HtmlTernaryTree.cs
- ProtocolsConfigurationHandler.cs
- HttpWebRequestElement.cs
- AsyncContentLoadedEventArgs.cs
- PasswordBox.cs
- Utilities.cs
- PeerNameRecord.cs
- HtmlTernaryTree.cs
- Number.cs
- OrderedDictionary.cs
- ToolStripDropDownItem.cs
- Int32RectConverter.cs
- AuthenticationService.cs
- CheckBoxRenderer.cs
- StatusBarPanel.cs
- RuntimeResourceSet.cs
- TimeSpanValidatorAttribute.cs
- ConfigsHelper.cs
- XPathNode.cs
- DataContractSerializerOperationGenerator.cs
- BookmarkResumptionRecord.cs
- ServiceDurableInstanceContextProvider.cs
- TreeNodeCollection.cs
- DragEvent.cs
- X500Name.cs
- AndMessageFilterTable.cs
- DelayedRegex.cs
- LinqDataSourceSelectEventArgs.cs
- ToolStripSettings.cs
- Literal.cs
- SymbolEqualComparer.cs
- ProfileParameter.cs
- MultiTrigger.cs
- XmlEnumAttribute.cs
- BrushProxy.cs
- MasterPageBuildProvider.cs
- FileDialogCustomPlacesCollection.cs
- FastPropertyAccessor.cs
- BlockExpression.cs
- Button.cs
- OpacityConverter.cs
- DataRowComparer.cs
- AttachedPropertyBrowsableForChildrenAttribute.cs
- FieldReference.cs
- SequenceDesignerAccessibleObject.cs
- InvalidEnumArgumentException.cs
- DispatcherProcessingDisabled.cs
- XmlSchemaGroup.cs
- XmlReaderSettings.cs
- mediaeventargs.cs
- WebPartAuthorizationEventArgs.cs
- RedirectionProxy.cs
- CultureTable.cs
- WebPartConnection.cs
- Pair.cs
- SettingsBindableAttribute.cs
- SystemIPAddressInformation.cs
- MemberAccessException.cs
- SHA384.cs
- ConstrainedDataObject.cs
- TextDocumentView.cs
- Exceptions.cs
- SingleBodyParameterMessageFormatter.cs
- SqlDataSourceQueryEditor.cs
- HttpServerUtilityBase.cs
- ColorIndependentAnimationStorage.cs
- ComboBoxRenderer.cs
- AnonymousIdentificationModule.cs
- SerializationTrace.cs
- ObjectAnimationUsingKeyFrames.cs
- X509Chain.cs
- BuildResult.cs
- QilTypeChecker.cs
- _ScatterGatherBuffers.cs
- TempEnvironment.cs
- PriorityQueue.cs
- EllipseGeometry.cs
- PenCursorManager.cs
- LayoutInformation.cs
- BaseUriHelper.cs
- TextRangeBase.cs
- WebBrowserDesigner.cs
- XamlStackWriter.cs
- Image.cs
- WindowsToolbar.cs
- AssemblyName.cs
- DateTimeFormatInfoScanner.cs
- TabletCollection.cs
- ToolStripManager.cs
- HtmlElementCollection.cs
- WebEventTraceProvider.cs