Code:
/ DotNET / DotNET / 8.0 / untmp / WIN_WINDOWS / lh_tools_devdiv_wpf / Windows / wcp / Core / System / Windows / Input / Stylus / StylusPointPropertyUnit.cs / 1 / StylusPointPropertyUnit.cs
//------------------------------------------------------------------------ //// Copyright (c) Microsoft Corporation. All rights reserved. // //----------------------------------------------------------------------- using System; using System.Windows; using System.Windows.Input; using System.Windows.Media; using System.Collections.Generic; namespace System.Windows.Input { ////// Stylus data is made up of n number of properties. Each property can contain one or more /// values such as x or y coordinate or button states. /// This enum defines the various possible units for the values in the stylus data /// ///public enum StylusPointPropertyUnit { /// Specifies that the units are unknown. ///None = 0, /// Specifies that the property value is in inches (distance units). ///Inches = 1, /// Specifies that the property value is in centimeters (distance units). ///Centimeters = 2, /// Specifies that the property value is in degrees (angle units). ///Degrees = 3, /// Specifies that the property value is in radians (angle units). ///Radians = 4, /// Specifies that the property value is in seconds (angle units). ///Seconds = 5, /// /// Specifies that the property value is in pounds (force, or mass, units). Pounds = 6, ////// Specifies that the property value is in grams (force, or mass, units). Grams = 7 } ////// Used to validate the enum /// internal static class StylusPointPropertyUnitHelper { internal static bool IsDefined(StylusPointPropertyUnit unit) { if (unit >= StylusPointPropertyUnit.None && unit <= StylusPointPropertyUnit.Grams) { return true; } return false; } } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- WindowsListViewItemStartMenu.cs
- RuleSettings.cs
- ObjectFullSpanRewriter.cs
- ContextStaticAttribute.cs
- WbmpConverter.cs
- RSAPKCS1SignatureDeformatter.cs
- AssertSection.cs
- ThreadStateException.cs
- StorageModelBuildProvider.cs
- XmlTextReaderImplHelpers.cs
- Error.cs
- InstancePersistence.cs
- XmlCharCheckingWriter.cs
- IQueryable.cs
- UrlRoutingModule.cs
- ToolStripDropTargetManager.cs
- DataGridViewButtonColumn.cs
- AlphabeticalEnumConverter.cs
- bindurihelper.cs
- ChunkedMemoryStream.cs
- StubHelpers.cs
- StorageEntityTypeMapping.cs
- IdlingCommunicationPool.cs
- WebPartDisplayModeCancelEventArgs.cs
- FormsAuthenticationCredentials.cs
- PartitionedStreamMerger.cs
- AmbientValueAttribute.cs
- HttpProfileBase.cs
- ProcessModuleCollection.cs
- PassportAuthenticationModule.cs
- PropertyDescriptor.cs
- UndirectedGraph.cs
- ScriptReferenceEventArgs.cs
- DataMemberFieldEditor.cs
- DataServiceHostFactory.cs
- DataGridViewCellLinkedList.cs
- DataGridRow.cs
- DataBindingCollection.cs
- SMSvcHost.cs
- ProxyBuilder.cs
- DtrList.cs
- EntityDataSourceUtil.cs
- XmlSchemaComplexContentRestriction.cs
- TextElementAutomationPeer.cs
- ReservationCollection.cs
- RegexWorker.cs
- FixedNode.cs
- MetafileHeaderWmf.cs
- IndicFontClient.cs
- UnhandledExceptionEventArgs.cs
- ColorTransform.cs
- ExpandableObjectConverter.cs
- IPCCacheManager.cs
- ImageIndexConverter.cs
- WebPartVerbsEventArgs.cs
- DefaultSection.cs
- ToolStripDropDownButton.cs
- _CookieModule.cs
- GraphicsContext.cs
- If.cs
- ExternalException.cs
- DBConcurrencyException.cs
- ExpressionWriter.cs
- DataGridViewRowHeightInfoPushedEventArgs.cs
- TwoPhaseCommitProxy.cs
- xmlglyphRunInfo.cs
- CompilerLocalReference.cs
- Timer.cs
- FrameworkReadOnlyPropertyMetadata.cs
- EncryptedHeaderXml.cs
- WebBrowsableAttribute.cs
- SortDescriptionCollection.cs
- ConstraintCollection.cs
- RayMeshGeometry3DHitTestResult.cs
- ReflectionUtil.cs
- ConsumerConnectionPoint.cs
- MatrixAnimationBase.cs
- IndicCharClassifier.cs
- ExpressionEditor.cs
- MailWebEventProvider.cs
- WebPartEditVerb.cs
- SapiRecoInterop.cs
- ReadOnlyDataSourceView.cs
- EventData.cs
- SortQuery.cs
- LeafCellTreeNode.cs
- rsa.cs
- ComProxy.cs
- TextParagraphView.cs
- BitConverter.cs
- HttpHeaderCollection.cs
- ViewGenResults.cs
- XmlSiteMapProvider.cs
- SqlDataSourceCommandEventArgs.cs
- PageThemeBuildProvider.cs
- RichTextBoxAutomationPeer.cs
- RepeaterCommandEventArgs.cs
- WebReferenceCollection.cs
- Image.cs
- MouseEvent.cs