Code:
/ DotNET / DotNET / 8.0 / untmp / WIN_WINDOWS / lh_tools_devdiv_wpf / Windows / wcp / Core / System / Windows / Input / Stylus / TabletDeviceInfo.cs / 1 / 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
- UnitySerializationHolder.cs
- NativeMethods.cs
- DetailsView.cs
- TripleDESCryptoServiceProvider.cs
- TextOutput.cs
- SettingsContext.cs
- SqlConnectionString.cs
- BatchParser.cs
- BitmapEffectGeneralTransform.cs
- ModelVisual3D.cs
- HebrewCalendar.cs
- Encoding.cs
- SerialReceived.cs
- HttpStreamXmlDictionaryWriter.cs
- HostingPreferredMapPath.cs
- StrokeNodeEnumerator.cs
- LineGeometry.cs
- DependencyPropertyHelper.cs
- FontNameEditor.cs
- SecurityKeyIdentifierClause.cs
- basevalidator.cs
- LayoutTableCell.cs
- DataGridTextBox.cs
- FaultImportOptions.cs
- PolicyChain.cs
- EntryWrittenEventArgs.cs
- Empty.cs
- CodeStatementCollection.cs
- HebrewNumber.cs
- UserNameSecurityTokenProvider.cs
- StreamAsIStream.cs
- CaseStatementSlot.cs
- OneOf.cs
- ConnectAlgorithms.cs
- SectionRecord.cs
- DnsPermission.cs
- SafeSecurityHelper.cs
- Base64Encoding.cs
- CircleHotSpot.cs
- DockingAttribute.cs
- ScrollPatternIdentifiers.cs
- MethodImplAttribute.cs
- FormViewDeleteEventArgs.cs
- ResumeStoryboard.cs
- IBuiltInEvidence.cs
- MsmqAppDomainProtocolHandler.cs
- DataServiceQueryException.cs
- PhonemeEventArgs.cs
- Vector3DAnimationBase.cs
- DataGridDefaultColumnWidthTypeConverter.cs
- OdbcConnectionStringbuilder.cs
- PartialArray.cs
- EditorAttribute.cs
- ManagementObjectCollection.cs
- WindowsRichEditRange.cs
- XPathSingletonIterator.cs
- CompilationLock.cs
- DataGridView.cs
- PersonalizationState.cs
- CodeGenerator.cs
- DescendentsWalker.cs
- NameValueConfigurationElement.cs
- BitmapMetadataEnumerator.cs
- MergePropertyDescriptor.cs
- DataSourceSelectArguments.cs
- XmlSchemaAttribute.cs
- ArrayConverter.cs
- ImageUrlEditor.cs
- SignedPkcs7.cs
- CodeTypeMember.cs
- AccessibleObject.cs
- BoundPropertyEntry.cs
- EntityKey.cs
- CacheAxisQuery.cs
- BaseWebProxyFinder.cs
- WebPartsSection.cs
- WebScriptMetadataMessageEncoderFactory.cs
- CheckBoxDesigner.cs
- CqlParser.cs
- FormatConvertedBitmap.cs
- ObjectDataSourceChooseTypePanel.cs
- StickyNoteContentControl.cs
- GiveFeedbackEventArgs.cs
- EventHandlerService.cs
- TraceUtils.cs
- SoapSchemaExporter.cs
- ListViewGroup.cs
- JobCollate.cs
- XPathDocument.cs
- FontCacheLogic.cs
- XmlQualifiedName.cs
- DbConnectionFactory.cs
- InstanceNotFoundException.cs
- NotSupportedException.cs
- DesignerDataView.cs
- GridViewRowPresenterBase.cs
- SelectionEditor.cs
- ComponentChangedEvent.cs
- TextEvent.cs
- ScaleTransform3D.cs