Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / Orcas / NetFXw7 / 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
- ElementHost.cs
- OpenFileDialog.cs
- PropertyGridView.cs
- UnknownBitmapEncoder.cs
- HuffCodec.cs
- connectionpool.cs
- IncrementalHitTester.cs
- QueryStringHandler.cs
- NotifyParentPropertyAttribute.cs
- DateBoldEvent.cs
- StylusEditingBehavior.cs
- HtmlAnchor.cs
- InvokeCompletedEventArgs.cs
- SupportingTokenBindingElement.cs
- AttributeEmitter.cs
- ColumnReorderedEventArgs.cs
- EntityContainerEmitter.cs
- IIS7UserPrincipal.cs
- TriggerCollection.cs
- BamlResourceSerializer.cs
- AttributeCollection.cs
- NumberFormatInfo.cs
- Debugger.cs
- AxHost.cs
- AssemblyName.cs
- GlyphCollection.cs
- EncoderNLS.cs
- ConfigurationManagerHelper.cs
- DBConcurrencyException.cs
- _HeaderInfoTable.cs
- UpdatePanelTriggerCollection.cs
- Sentence.cs
- DataTablePropertyDescriptor.cs
- WebConfigurationManager.cs
- TemplateParser.cs
- WaitHandleCannotBeOpenedException.cs
- BinaryConverter.cs
- MemoryPressure.cs
- PrinterSettings.cs
- BinaryFormatter.cs
- Executor.cs
- RecordConverter.cs
- BitVector32.cs
- ArcSegment.cs
- X509InitiatorCertificateClientElement.cs
- Object.cs
- DbTransaction.cs
- Effect.cs
- WindowsGraphics.cs
- SQLInt64.cs
- SetIterators.cs
- GraphicsContainer.cs
- HttpModulesSection.cs
- DataGridColumnStyleMappingNameEditor.cs
- ValueChangedEventManager.cs
- HttpHandlerActionCollection.cs
- ObjectViewEntityCollectionData.cs
- CompilerParameters.cs
- CustomCategoryAttribute.cs
- Point3D.cs
- ConditionalDesigner.cs
- PathFigureCollectionConverter.cs
- AutomationPropertyInfo.cs
- DatatypeImplementation.cs
- LabelEditEvent.cs
- FixedPageProcessor.cs
- TextServicesProperty.cs
- InstanceHandleReference.cs
- SynchronizingStream.cs
- ClientSettingsStore.cs
- OutputCacheSection.cs
- BufferModeSettings.cs
- WebResponse.cs
- SubstitutionList.cs
- COM2Properties.cs
- BuildProviderCollection.cs
- RegexWorker.cs
- ToolStripContentPanel.cs
- CodeExpressionCollection.cs
- TTSVoice.cs
- ResourceDisplayNameAttribute.cs
- PointAnimation.cs
- NamedPipeChannelFactory.cs
- ThicknessKeyFrameCollection.cs
- ActivityInterfaces.cs
- ListSortDescription.cs
- BasicHttpBindingElement.cs
- AxisAngleRotation3D.cs
- MetaModel.cs
- LockedAssemblyCache.cs
- DrawTreeNodeEventArgs.cs
- AbstractSvcMapFileLoader.cs
- BrowserCapabilitiesFactoryBase.cs
- AuthenticatedStream.cs
- ClosableStream.cs
- ArraySortHelper.cs
- DefaultBindingPropertyAttribute.cs
- PassportAuthenticationEventArgs.cs
- DescendantOverDescendantQuery.cs
- FontNameConverter.cs