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
- Delegate.cs
- WebResourceUtil.cs
- Encoder.cs
- SemaphoreFullException.cs
- RecognizerInfo.cs
- followingsibling.cs
- TextSchema.cs
- ComponentChangedEvent.cs
- WizardPanelChangingEventArgs.cs
- FileLoadException.cs
- CommandPlan.cs
- Int32AnimationBase.cs
- DataGridViewRowPostPaintEventArgs.cs
- HtmlControlPersistable.cs
- ClientProxyGenerator.cs
- HtmlElementErrorEventArgs.cs
- MetadataHelper.cs
- WindowsListViewItem.cs
- AlternateView.cs
- DetailsViewRowCollection.cs
- DocumentXPathNavigator.cs
- TypedServiceChannelBuilder.cs
- DefaultWorkflowTransactionService.cs
- SimpleHandlerFactory.cs
- PersistChildrenAttribute.cs
- DomainUpDown.cs
- GridItemPattern.cs
- ContextInformation.cs
- SendActivityDesigner.cs
- ReliabilityContractAttribute.cs
- InheritedPropertyChangedEventArgs.cs
- ReadOnlyDictionary.cs
- FrameDimension.cs
- HMACRIPEMD160.cs
- SqlDataSourceCommandParser.cs
- TextBlock.cs
- Camera.cs
- DocumentApplication.cs
- DirectoryLocalQuery.cs
- SQLInt32.cs
- EntitySetBase.cs
- coordinatorscratchpad.cs
- COM2IDispatchConverter.cs
- VersionUtil.cs
- ConstructorNeedsTagAttribute.cs
- _ConnectStream.cs
- ConfigurationSchemaErrors.cs
- EndpointBehaviorElement.cs
- SchemaNamespaceManager.cs
- DefaultAuthorizationContext.cs
- TileBrush.cs
- StaticDataManager.cs
- XmlSecureResolver.cs
- ZoneIdentityPermission.cs
- PropertyExpression.cs
- InlineObject.cs
- ExceptionCollection.cs
- LookupBindingPropertiesAttribute.cs
- CommandSet.cs
- GroupLabel.cs
- JsonFormatWriterGenerator.cs
- LabelEditEvent.cs
- Calendar.cs
- BitmapEffectGroup.cs
- ServerIdentity.cs
- SwitchElementsCollection.cs
- ApplicationCommands.cs
- BuildProviderCollection.cs
- State.cs
- UserPreferenceChangingEventArgs.cs
- BindingNavigatorDesigner.cs
- ToolStripInSituService.cs
- ListChangedEventArgs.cs
- SimpleRecyclingCache.cs
- X509ChainPolicy.cs
- ObjectReferenceStack.cs
- CancellationHandlerDesigner.cs
- ListViewItemEventArgs.cs
- EventTrigger.cs
- SqlFacetAttribute.cs
- TraversalRequest.cs
- SortFieldComparer.cs
- ToolStripPanelRenderEventArgs.cs
- TextOutput.cs
- DesignerAttribute.cs
- Debugger.cs
- DataBinding.cs
- FailedToStartupUIException.cs
- DataGridBoundColumn.cs
- DataControlFieldHeaderCell.cs
- SQLBinary.cs
- GlyphCache.cs
- CodeDelegateInvokeExpression.cs
- SqlCacheDependencyDatabaseCollection.cs
- ComAdminInterfaces.cs
- DataGrid.cs
- ObjectManager.cs
- RegexWorker.cs
- BackgroundWorker.cs
- GeneralTransform3DTo2D.cs