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
- SectionXmlInfo.cs
- _ContextAwareResult.cs
- ThreadAttributes.cs
- SafeNativeMethods.cs
- RtfControlWordInfo.cs
- DateTimeOffsetStorage.cs
- InvalidCardException.cs
- Effect.cs
- DependencyObject.cs
- AddressAlreadyInUseException.cs
- FixedDocument.cs
- IdnMapping.cs
- SevenBitStream.cs
- ModuleBuilder.cs
- WebPartsSection.cs
- LinkUtilities.cs
- RowVisual.cs
- LayoutEditorPart.cs
- Dump.cs
- DesignTimeXamlWriter.cs
- TableRowCollection.cs
- CharacterMetrics.cs
- XmlBoundElement.cs
- ThreadInterruptedException.cs
- SafeNativeMethods.cs
- SerializationHelper.cs
- SmiEventSink.cs
- DefaultValueConverter.cs
- Focus.cs
- MediaPlayerState.cs
- ProtectedConfigurationProviderCollection.cs
- TemplateBindingExpression.cs
- UserNamePasswordValidator.cs
- DelegatingTypeDescriptionProvider.cs
- TypeDescriptorContext.cs
- HtmlElementCollection.cs
- FontResourceCache.cs
- Label.cs
- SqlFacetAttribute.cs
- SurrogateEncoder.cs
- ExceptionRoutedEventArgs.cs
- Matrix3D.cs
- CacheMemory.cs
- BackgroundWorker.cs
- ResourcePart.cs
- TagNameToTypeMapper.cs
- ComPlusDiagnosticTraceSchemas.cs
- XhtmlBasicPhoneCallAdapter.cs
- ExtentJoinTreeNode.cs
- ReservationNotFoundException.cs
- WebRequestModuleElementCollection.cs
- COM2FontConverter.cs
- GenericRootAutomationPeer.cs
- Parser.cs
- ListViewUpdateEventArgs.cs
- StylusPointPropertyId.cs
- StorageBasedPackageProperties.cs
- TreeViewAutomationPeer.cs
- MatrixAnimationUsingKeyFrames.cs
- OutputCacheEntry.cs
- NodeLabelEditEvent.cs
- ConnectionsZone.cs
- EmbeddedMailObject.cs
- CustomErrorCollection.cs
- SpeechEvent.cs
- VirtualDirectoryMapping.cs
- LinqDataSource.cs
- _Connection.cs
- Rotation3DKeyFrameCollection.cs
- ReaderWriterLockSlim.cs
- TraceInternal.cs
- UserThread.cs
- ToolStripLocationCancelEventArgs.cs
- Control.cs
- ObjectIDGenerator.cs
- RoleGroup.cs
- CursorConverter.cs
- DeclaredTypeElementCollection.cs
- XmlSchemaInfo.cs
- QueuePropertyVariants.cs
- ProfileEventArgs.cs
- BitmapEffectDrawingContextWalker.cs
- CachedResourceDictionaryExtension.cs
- TextBoxAutoCompleteSourceConverter.cs
- NetCodeGroup.cs
- XPathNavigatorReader.cs
- ErrorWrapper.cs
- xamlnodes.cs
- XmlConvert.cs
- PropertyDescriptorGridEntry.cs
- RuleCache.cs
- StylusPointCollection.cs
- OpenTypeCommon.cs
- DataPager.cs
- FixUp.cs
- StringTraceRecord.cs
- DispatcherExceptionFilterEventArgs.cs
- WebPartConnectionCollection.cs
- BaseAddressElementCollection.cs
- PreDigestedSignedInfo.cs