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
- SizeConverter.cs
- DataPagerFieldCollection.cs
- IsolatedStorageException.cs
- IDispatchConstantAttribute.cs
- GPStream.cs
- NumericUpDownAcceleration.cs
- TextClipboardData.cs
- PageRequestManager.cs
- DataSourceUtil.cs
- MonitoringDescriptionAttribute.cs
- TypeValidationEventArgs.cs
- WorkflowApplicationAbortedException.cs
- DateRangeEvent.cs
- PageCodeDomTreeGenerator.cs
- CodeValidator.cs
- WebServiceBindingAttribute.cs
- GridProviderWrapper.cs
- GrammarBuilder.cs
- DataTableNewRowEvent.cs
- EtwTrackingBehavior.cs
- TypePropertyEditor.cs
- IncrementalReadDecoders.cs
- HtmlTableCellCollection.cs
- FontConverter.cs
- ObfuscateAssemblyAttribute.cs
- ToolTipService.cs
- ValueChangedEventManager.cs
- BufferModeSettings.cs
- CacheOutputQuery.cs
- EdmItemError.cs
- TemplateBuilder.cs
- PrimitiveCodeDomSerializer.cs
- LoginDesigner.cs
- TableSectionStyle.cs
- NavigationProgressEventArgs.cs
- ValidationSummary.cs
- UniqueEventHelper.cs
- WebServiceResponse.cs
- MinMaxParagraphWidth.cs
- LocatorGroup.cs
- RelationshipEnd.cs
- PasswordRecoveryAutoFormat.cs
- recordstate.cs
- TextBoxLine.cs
- elementinformation.cs
- FormView.cs
- SafeRegistryHandle.cs
- ObjectDisposedException.cs
- View.cs
- SqlClientWrapperSmiStreamChars.cs
- IisTraceWebEventProvider.cs
- SqlDataSourceCache.cs
- PhysicalOps.cs
- XPathPatternBuilder.cs
- ContractsBCL.cs
- DataGridViewUtilities.cs
- EditorBrowsableAttribute.cs
- ValidatorCompatibilityHelper.cs
- RawContentTypeMapper.cs
- CustomAttributeFormatException.cs
- KeyedHashAlgorithm.cs
- OleStrCAMarshaler.cs
- SignerInfo.cs
- TemplateControlCodeDomTreeGenerator.cs
- XamlBrushSerializer.cs
- DurableRuntimeValidator.cs
- _HTTPDateParse.cs
- StatusBarPanelClickEvent.cs
- RemoteWebConfigurationHostServer.cs
- TagMapInfo.cs
- DbConnectionStringBuilder.cs
- PrintDialogDesigner.cs
- _LazyAsyncResult.cs
- GenericUI.cs
- Marshal.cs
- CodeDirectionExpression.cs
- DoubleLinkList.cs
- DecimalKeyFrameCollection.cs
- EmptyStringExpandableObjectConverter.cs
- XPathDocumentNavigator.cs
- Transform3D.cs
- LayoutUtils.cs
- HttpCachePolicy.cs
- DocumentsTrace.cs
- ImageAnimator.cs
- GrammarBuilderWildcard.cs
- FocusChangedEventArgs.cs
- CompositeFontParser.cs
- IdentityReference.cs
- OdbcConnectionString.cs
- ConvertEvent.cs
- PointConverter.cs
- Symbol.cs
- CodePageEncoding.cs
- DataGridViewTextBoxCell.cs
- DataGridTextBox.cs
- ZoneLinkButton.cs
- WindowsListViewSubItem.cs
- Convert.cs
- PersonalizationAdministration.cs