Code:
/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Core / CSharp / System / Windows / Input / Stylus / StylusPointPropertyUnit.cs / 1305600 / 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
- ServiceModelActivationSectionGroup.cs
- CurrentChangingEventManager.cs
- StreamingContext.cs
- ToolboxItemCollection.cs
- Decorator.cs
- IndentTextWriter.cs
- EntityDesignerDataSourceView.cs
- XmlSerializationGeneratedCode.cs
- KnownIds.cs
- KeyInfo.cs
- ZoneButton.cs
- MessageContractExporter.cs
- BrowserInteropHelper.cs
- FileDialogCustomPlace.cs
- ToolStripDropDownClosedEventArgs.cs
- WebDescriptionAttribute.cs
- ForEachAction.cs
- FormViewModeEventArgs.cs
- GradientStop.cs
- PointF.cs
- MediaCommands.cs
- TraceSection.cs
- SystemResourceKey.cs
- GeometryDrawing.cs
- GridViewCancelEditEventArgs.cs
- ADConnectionHelper.cs
- MergePropertyDescriptor.cs
- DBConnectionString.cs
- MemoryStream.cs
- ExecutionEngineException.cs
- _NegotiateClient.cs
- ViewPort3D.cs
- DefaultHttpHandler.cs
- PersonalizableAttribute.cs
- TemporaryBitmapFile.cs
- InstanceCreationEditor.cs
- MediaContextNotificationWindow.cs
- PerformanceCounterCategory.cs
- RegexTypeEditor.cs
- ExportException.cs
- PropertyDescriptorComparer.cs
- SByteStorage.cs
- ExtensionsSection.cs
- ColorDialog.cs
- SafeProcessHandle.cs
- XmlElementAttribute.cs
- _UriSyntax.cs
- RelatedCurrencyManager.cs
- LocalServiceSecuritySettingsElement.cs
- ActivityCodeDomSerializer.cs
- IApplicationTrustManager.cs
- LineServicesCallbacks.cs
- IndexedSelectQueryOperator.cs
- ContextProperty.cs
- CultureInfoConverter.cs
- InvalidOperationException.cs
- ElapsedEventArgs.cs
- ProxyWebPartConnectionCollection.cs
- CopyAction.cs
- SizeIndependentAnimationStorage.cs
- GridViewDeletedEventArgs.cs
- TextTreeTextBlock.cs
- Property.cs
- BezierSegment.cs
- ISessionStateStore.cs
- CallInfo.cs
- WebBrowsableAttribute.cs
- HierarchicalDataBoundControl.cs
- DateTimeOffsetConverter.cs
- Preprocessor.cs
- QueryInterceptorAttribute.cs
- ObjectAnimationBase.cs
- NamespaceListProperty.cs
- InputProviderSite.cs
- DataListGeneralPage.cs
- MatcherBuilder.cs
- ActivationArguments.cs
- EmptyControlCollection.cs
- EmptyControlCollection.cs
- TraceLevelStore.cs
- MediaTimeline.cs
- CodeTypeReferenceCollection.cs
- ThreadPoolTaskScheduler.cs
- ReflectEventDescriptor.cs
- WindowsAuthenticationEventArgs.cs
- WebReferencesBuildProvider.cs
- AsyncStreamReader.cs
- EpmSourceTree.cs
- UInt16Converter.cs
- TableStyle.cs
- DesignerAdapterUtil.cs
- QueueProcessor.cs
- TypeProvider.cs
- Splitter.cs
- Win32PrintDialog.cs
- SqlDataSourceCustomCommandPanel.cs
- ProviderBase.cs
- mediaclock.cs
- HealthMonitoringSection.cs
- DataGridViewRowCollection.cs