Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / Orcas / QFE / wpf / src / UIAutomation / UIAutomationTypes / System / Windows / Automation / RangeValuePatternIdentifiers.cs / 1 / RangeValuePatternIdentifiers.cs
//---------------------------------------------------------------------------- // //// Copyright (C) Microsoft Corporation. All rights reserved. // // // // Description: Automation Identifiers for RangeValue Pattern // // History: // 04/15/2005 : MKarr Added // //--------------------------------------------------------------------------- using System; using MS.Internal.Automation; namespace System.Windows.Automation { ////// Exposes a related set of properties that reflect a control's ability to manage a value /// within a finite range. It conveys a controls valid minimum and maximum values and its /// current value. /// /// Pattern requires MinValue less than MaxValue. /// MinimumValue and MaximumValue must be the same Object type as ValueAsObject. /// #if (INTERNAL_COMPILE) internal static class RangeValuePatternIdentifiers #else public static class RangeValuePatternIdentifiers #endif { //----------------------------------------------------- // // Public Constants / Readonly Fields // //----------------------------------------------------- #region Public Constants and Readonly Fields ///Value pattern public static readonly AutomationPattern Pattern = AutomationPattern.Register(AutomationIdentifierGuids.RangeValue_Pattern, "RangeValuePatternIdentifiers.Pattern"); ///Property ID: Value - Value of a value control, as a double public static readonly AutomationProperty ValueProperty = AutomationProperty.Register(AutomationIdentifierGuids.RangeValue_Value_Property, "RangeValuePatternIdentifiers.ValueProperty"); ///Property ID: IsReadOnly - Indicates that the value can only be read, not modified. public static readonly AutomationProperty IsReadOnlyProperty = AutomationProperty.Register(AutomationIdentifierGuids.RangeValue_IsReadOnly_Property, "RangeValuePatternIdentifiers.IsReadOnlyProperty"); ///Property ID: Maximum value public static readonly AutomationProperty MinimumProperty = AutomationProperty.Register(AutomationIdentifierGuids.RangeValue_Minimum_Property, "RangeValuePatternIdentifiers.MinimumProperty"); ///Property ID: Maximum value public static readonly AutomationProperty MaximumProperty = AutomationProperty.Register(AutomationIdentifierGuids.RangeValue_Maximum_Property, "RangeValuePatternIdentifiers.MaximumProperty"); ///Property ID: LargeChange - Indicates a value to be added to or subtracted from the Value property when the element is moved a large distance. public static readonly AutomationProperty LargeChangeProperty = AutomationProperty.Register(AutomationIdentifierGuids.RangeValue_LargeChange_Property, "RangeValuePatternIdentifiers.LargeChangeProperty"); ///Property ID: SmallChange - Indicates a value to be added to or subtracted from the Value property when the element is moved a small distance. public static readonly AutomationProperty SmallChangeProperty = AutomationProperty.Register(AutomationIdentifierGuids.RangeValue_SmallChange_Property, "RangeValuePatternIdentifiers.SmallChangeProperty"); #endregion Public Constants and Readonly Fields } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved. //---------------------------------------------------------------------------- // //// Copyright (C) Microsoft Corporation. All rights reserved. // // // // Description: Automation Identifiers for RangeValue Pattern // // History: // 04/15/2005 : MKarr Added // //--------------------------------------------------------------------------- using System; using MS.Internal.Automation; namespace System.Windows.Automation { ////// Exposes a related set of properties that reflect a control's ability to manage a value /// within a finite range. It conveys a controls valid minimum and maximum values and its /// current value. /// /// Pattern requires MinValue less than MaxValue. /// MinimumValue and MaximumValue must be the same Object type as ValueAsObject. /// #if (INTERNAL_COMPILE) internal static class RangeValuePatternIdentifiers #else public static class RangeValuePatternIdentifiers #endif { //----------------------------------------------------- // // Public Constants / Readonly Fields // //----------------------------------------------------- #region Public Constants and Readonly Fields ///Value pattern public static readonly AutomationPattern Pattern = AutomationPattern.Register(AutomationIdentifierGuids.RangeValue_Pattern, "RangeValuePatternIdentifiers.Pattern"); ///Property ID: Value - Value of a value control, as a double public static readonly AutomationProperty ValueProperty = AutomationProperty.Register(AutomationIdentifierGuids.RangeValue_Value_Property, "RangeValuePatternIdentifiers.ValueProperty"); ///Property ID: IsReadOnly - Indicates that the value can only be read, not modified. public static readonly AutomationProperty IsReadOnlyProperty = AutomationProperty.Register(AutomationIdentifierGuids.RangeValue_IsReadOnly_Property, "RangeValuePatternIdentifiers.IsReadOnlyProperty"); ///Property ID: Maximum value public static readonly AutomationProperty MinimumProperty = AutomationProperty.Register(AutomationIdentifierGuids.RangeValue_Minimum_Property, "RangeValuePatternIdentifiers.MinimumProperty"); ///Property ID: Maximum value public static readonly AutomationProperty MaximumProperty = AutomationProperty.Register(AutomationIdentifierGuids.RangeValue_Maximum_Property, "RangeValuePatternIdentifiers.MaximumProperty"); ///Property ID: LargeChange - Indicates a value to be added to or subtracted from the Value property when the element is moved a large distance. public static readonly AutomationProperty LargeChangeProperty = AutomationProperty.Register(AutomationIdentifierGuids.RangeValue_LargeChange_Property, "RangeValuePatternIdentifiers.LargeChangeProperty"); ///Property ID: SmallChange - Indicates a value to be added to or subtracted from the Value property when the element is moved a small distance. public static readonly AutomationProperty SmallChangeProperty = AutomationProperty.Register(AutomationIdentifierGuids.RangeValue_SmallChange_Property, "RangeValuePatternIdentifiers.SmallChangeProperty"); #endregion Public Constants and Readonly Fields } } // File provided for Reference Use Only by Microsoft Corporation (c) 2007. // Copyright (c) Microsoft Corporation. All rights reserved.
Link Menu
This book is available now!
Buy at Amazon US or
Buy at Amazon UK
- EventLogPermission.cs
- handlecollector.cs
- Renderer.cs
- TextDecoration.cs
- LambdaCompiler.Lambda.cs
- MatrixAnimationBase.cs
- CheckBox.cs
- MobileControlBuilder.cs
- ClientRolePrincipal.cs
- TreeIterators.cs
- List.cs
- ChannelServices.cs
- EasingQuaternionKeyFrame.cs
- AssemblyAssociatedContentFileAttribute.cs
- keycontainerpermission.cs
- dataobject.cs
- StrokeCollectionDefaultValueFactory.cs
- InvalidProgramException.cs
- XmlAttributeOverrides.cs
- OrderByBuilder.cs
- GeneralTransform3DCollection.cs
- PropertyPushdownHelper.cs
- LinqDataSourceStatusEventArgs.cs
- JobInputBins.cs
- DataFormats.cs
- GenericUriParser.cs
- reliableinputsessionchannel.cs
- GridViewHeaderRowPresenter.cs
- DetailsViewInsertedEventArgs.cs
- PropertyGeneratedEventArgs.cs
- HyperLinkField.cs
- PageContentCollection.cs
- XmlWrappingWriter.cs
- PixelFormatConverter.cs
- DropShadowEffect.cs
- MatrixAnimationBase.cs
- DependencyObject.cs
- ControlParameter.cs
- FontFamilyValueSerializer.cs
- GrammarBuilderDictation.cs
- AnimationClock.cs
- LinkConverter.cs
- IndexOutOfRangeException.cs
- WebControlsSection.cs
- CompressStream.cs
- Point3DCollectionConverter.cs
- XappLauncher.cs
- DocumentPageViewAutomationPeer.cs
- DBBindings.cs
- XdrBuilder.cs
- Logging.cs
- ResourceDisplayNameAttribute.cs
- CodeValidator.cs
- WebConfigurationHost.cs
- ConnectivityStatus.cs
- Preprocessor.cs
- printdlgexmarshaler.cs
- DataSourceXmlTextReader.cs
- Grammar.cs
- MoveSizeWinEventHandler.cs
- PeerObject.cs
- XmlFormatExtensionPrefixAttribute.cs
- AsnEncodedData.cs
- XmlSortKey.cs
- XslTransform.cs
- DispatcherTimer.cs
- GrammarBuilderDictation.cs
- ResourceSet.cs
- ProtocolProfile.cs
- Grant.cs
- VScrollProperties.cs
- BlockUIContainer.cs
- GridViewColumn.cs
- MemberAccessException.cs
- XsltException.cs
- WindowsFormsHostPropertyMap.cs
- TableLayoutColumnStyleCollection.cs
- GPPOINTF.cs
- TextEncodedRawTextWriter.cs
- DeflateStream.cs
- CollectionContainer.cs
- ShutDownListener.cs
- UpdatableWrapper.cs
- TileModeValidation.cs
- AbsoluteQuery.cs
- WorkflowRuntimeService.cs
- SortDescription.cs
- RectangleF.cs
- CapabilitiesPattern.cs
- DispatcherExceptionEventArgs.cs
- DbProviderManifest.cs
- WorkflowView.cs
- RuntimeResourceSet.cs
- ContainerAction.cs
- SettingsSection.cs
- MatrixCamera.cs
- Hashtable.cs
- Currency.cs
- CssStyleCollection.cs
- IndexOutOfRangeException.cs