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
- Animatable.cs
- NativeMethods.cs
- ChannelServices.cs
- EntityDataSourceReferenceGroup.cs
- _FixedSizeReader.cs
- CanonicalFontFamilyReference.cs
- MissingMemberException.cs
- Substitution.cs
- ObjectStateEntryBaseUpdatableDataRecord.cs
- SourceInterpreter.cs
- TemplateXamlParser.cs
- ViewValidator.cs
- GridViewRowPresenterBase.cs
- CompiledRegexRunnerFactory.cs
- WebServiceData.cs
- WSHttpBindingBase.cs
- DictionaryTraceRecord.cs
- NativeMethods.cs
- ColumnClickEvent.cs
- ModelUIElement3D.cs
- HandleRef.cs
- FunctionCommandText.cs
- UserControl.cs
- XmlEnumAttribute.cs
- EventSinkHelperWriter.cs
- DataContractSerializerServiceBehavior.cs
- Tuple.cs
- ParagraphResult.cs
- FixedFlowMap.cs
- AutoGeneratedFieldProperties.cs
- _ConnectionGroup.cs
- AttachedPropertyBrowsableForTypeAttribute.cs
- ToolStripHighContrastRenderer.cs
- TextRangeEditTables.cs
- RegexReplacement.cs
- CodeTypeMemberCollection.cs
- GridEntryCollection.cs
- XmlProcessingInstruction.cs
- CompiledQuery.cs
- Html32TextWriter.cs
- ClusterRegistryConfigurationProvider.cs
- NeutralResourcesLanguageAttribute.cs
- ProxyHwnd.cs
- securitycriticaldata.cs
- WrapPanel.cs
- CompilerScope.cs
- KeyProperty.cs
- EntityFrameworkVersions.cs
- FixedSOMPageElement.cs
- IOException.cs
- CanExecuteRoutedEventArgs.cs
- WebRequestModulesSection.cs
- StorageInfo.cs
- DataTemplateSelector.cs
- Membership.cs
- Pair.cs
- RawStylusSystemGestureInputReport.cs
- CommandField.cs
- COM2EnumConverter.cs
- SHA1Managed.cs
- SHA256CryptoServiceProvider.cs
- wgx_render.cs
- SchemaNotation.cs
- SecurityException.cs
- FontUnitConverter.cs
- LabelDesigner.cs
- TemplateBindingExpression.cs
- ObjectDataSourceFilteringEventArgs.cs
- StylusCaptureWithinProperty.cs
- ProfileParameter.cs
- RankException.cs
- BezierSegment.cs
- ASCIIEncoding.cs
- EntryPointNotFoundException.cs
- StdValidatorsAndConverters.cs
- WebHttpSecurityElement.cs
- UriSection.cs
- PackWebResponse.cs
- FontCollection.cs
- XmlSchemaAnnotated.cs
- Marshal.cs
- WmlLinkAdapter.cs
- SimpleBitVector32.cs
- OwnerDrawPropertyBag.cs
- MetadataArtifactLoaderFile.cs
- PointConverter.cs
- TextContainer.cs
- PeerNameRecord.cs
- NonSerializedAttribute.cs
- PtsCache.cs
- BooleanAnimationUsingKeyFrames.cs
- SingleKeyFrameCollection.cs
- ValidationRule.cs
- OdbcReferenceCollection.cs
- Color.cs
- TraceContext.cs
- ExpandoClass.cs
- CustomPopupPlacement.cs
- RuleValidation.cs
- IERequestCache.cs