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
- Enlistment.cs
- documentsequencetextpointer.cs
- CultureTableRecord.cs
- Range.cs
- DbParameterCollectionHelper.cs
- InstanceDescriptor.cs
- MD5.cs
- WindowsToolbarItemAsMenuItem.cs
- DbDataAdapter.cs
- ToolStripDropDownClosingEventArgs.cs
- DesignerCatalogPartChrome.cs
- StrokeSerializer.cs
- Enumerable.cs
- WebPartsPersonalization.cs
- Base64Decoder.cs
- metadatamappinghashervisitor.hashsourcebuilder.cs
- UnsafeNativeMethods.cs
- PasswordDeriveBytes.cs
- Subset.cs
- LinqTreeNodeEvaluator.cs
- GeometryDrawing.cs
- XamlTypeMapperSchemaContext.cs
- _SafeNetHandles.cs
- ImageMap.cs
- CopyCodeAction.cs
- DataServiceEntityAttribute.cs
- TextClipboardData.cs
- CFStream.cs
- MaterialGroup.cs
- FileSecurity.cs
- EnlistmentState.cs
- HtmlShimManager.cs
- VisualTreeHelper.cs
- RegexGroupCollection.cs
- TypeDelegator.cs
- TextRenderer.cs
- SectionUpdates.cs
- InputElement.cs
- WinFormsComponentEditor.cs
- SizeConverter.cs
- CreateUserWizardStep.cs
- PointHitTestParameters.cs
- LongValidatorAttribute.cs
- SchemaImporterExtensionsSection.cs
- Int32CollectionValueSerializer.cs
- SponsorHelper.cs
- COM2PictureConverter.cs
- StringUtil.cs
- _TransmitFileOverlappedAsyncResult.cs
- SystemUdpStatistics.cs
- OdbcInfoMessageEvent.cs
- SqlReferenceCollection.cs
- SystemException.cs
- CodeDirectoryCompiler.cs
- CommentEmitter.cs
- BuilderPropertyEntry.cs
- EventMap.cs
- WorkflowTraceTransfer.cs
- Image.cs
- TextRangeBase.cs
- OracleRowUpdatingEventArgs.cs
- OleDbPermission.cs
- MobileControlBuilder.cs
- WorkflowRuntimeBehavior.cs
- XmlUtf8RawTextWriter.cs
- HttpSysSettings.cs
- SizeKeyFrameCollection.cs
- ProcessHostConfigUtils.cs
- FrameworkName.cs
- PerformanceCountersElement.cs
- CreateUserWizard.cs
- ImageList.cs
- SoapMessage.cs
- XmlAttributeAttribute.cs
- XXXOnTypeBuilderInstantiation.cs
- WebDescriptionAttribute.cs
- InternalResources.cs
- XmlSchemaComplexContentExtension.cs
- TreeViewItem.cs
- AutoResizedEvent.cs
- TraceXPathNavigator.cs
- StopStoryboard.cs
- PartialList.cs
- ClientOptions.cs
- ChangeTracker.cs
- SqlGenericUtil.cs
- CodeDOMUtility.cs
- CheckBoxField.cs
- XmlElement.cs
- EntityDataSourceEntityTypeFilterConverter.cs
- CodeTypeParameter.cs
- SingletonInstanceContextProvider.cs
- DataGridViewIntLinkedList.cs
- AuthStoreRoleProvider.cs
- NotifyIcon.cs
- ApplicationInfo.cs
- ValidationErrorEventArgs.cs
- WebPartConnectionsCancelVerb.cs
- TdsParserHelperClasses.cs
- UriScheme.cs