Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / 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
- DataTableClearEvent.cs
- InvalidCastException.cs
- BinaryNode.cs
- SystemIcons.cs
- _NestedSingleAsyncResult.cs
- DiscardableAttribute.cs
- MenuEventArgs.cs
- AutomationPropertyInfo.cs
- WsatExtendedInformation.cs
- ScriptControlDescriptor.cs
- FixUpCollection.cs
- SingleAnimationBase.cs
- DBCommand.cs
- categoryentry.cs
- Schema.cs
- SoapAttributes.cs
- ProfessionalColorTable.cs
- Rect3DConverter.cs
- WindowsEditBox.cs
- MulticastNotSupportedException.cs
- CompilerHelpers.cs
- CompilerResults.cs
- IsolatedStorageFile.cs
- ConditionChanges.cs
- ParameterReplacerVisitor.cs
- Serializer.cs
- ProcessInputEventArgs.cs
- MarginCollapsingState.cs
- TextBoxBase.cs
- NavigationService.cs
- DrawingGroup.cs
- TableLayoutSettingsTypeConverter.cs
- LinqToSqlWrapper.cs
- CodeSnippetTypeMember.cs
- RijndaelManagedTransform.cs
- DataGridViewRowsAddedEventArgs.cs
- dsa.cs
- Adorner.cs
- NativeMethods.cs
- RetrieveVirtualItemEventArgs.cs
- COM2ExtendedBrowsingHandler.cs
- TabPage.cs
- ExecutionEngineException.cs
- DrawingContextWalker.cs
- MobileErrorInfo.cs
- DataGridViewCheckBoxColumn.cs
- StringUtil.cs
- ImageSourceConverter.cs
- TemplateNodeContextMenu.cs
- Tool.cs
- XmlElementAttribute.cs
- DataViewSettingCollection.cs
- HostingEnvironmentSection.cs
- ApplicationFileCodeDomTreeGenerator.cs
- ExpandCollapsePattern.cs
- __TransparentProxy.cs
- DurableInstancingOptions.cs
- ListViewItem.cs
- ComponentGlyph.cs
- RadioButton.cs
- XPathArrayIterator.cs
- SliderAutomationPeer.cs
- DefaultTraceListener.cs
- InputDevice.cs
- CodeSubDirectoriesCollection.cs
- SafeNativeMethodsCLR.cs
- BindingSource.cs
- Point3DCollection.cs
- AssociationType.cs
- RtfControls.cs
- Attachment.cs
- ElementsClipboardData.cs
- X509Certificate2.cs
- SafeHandles.cs
- SemaphoreFullException.cs
- ProjectedSlot.cs
- CompensationParticipant.cs
- XmlEncodedRawTextWriter.cs
- PolicyException.cs
- CharEntityEncoderFallback.cs
- MenuItem.cs
- PtsHost.cs
- PrimitiveType.cs
- EventHandlerList.cs
- TypeDescriptionProviderAttribute.cs
- DisplayNameAttribute.cs
- DesignBindingConverter.cs
- Win32Native.cs
- FocusTracker.cs
- ServiceDocumentFormatter.cs
- TableDetailsRow.cs
- SoapFault.cs
- CodeValidator.cs
- PhysicalFontFamily.cs
- sqlmetadatafactory.cs
- ValidationErrorCollection.cs
- ServiceModelActivity.cs
- WorkflowFormatterBehavior.cs
- ListBoxItem.cs
- DateTimeSerializationSection.cs