Code:
/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / Orcas / QFE / wpf / src / UIAutomation / UIAutomationTypes / System / Windows / Automation / TogglePatternIdentifiers.cs / 1 / TogglePatternIdentifiers.cs
//---------------------------------------------------------------------------- // //// Copyright (C) Microsoft Corporation. All rights reserved. // // // // Description: Automation Identifiers for Toggle Pattern // // History: // 04/15/2005 : MKarr Added // //--------------------------------------------------------------------------- using System; using MS.Internal.Automation; using System.Runtime.InteropServices; namespace System.Windows.Automation { ////// The set of states a Toggleable control can be in. /// [ComVisible(true)] [Guid("ad7db4af-7166-4478-a402-ad5b77eab2fa")] #if (NO_INTERNAL_COMPILE_BUG1080665) internal enum ToggleState #else public enum ToggleState #endif { ///Element is Not Activated: unpressed, unchecked, unmarked, etc. Off, ///Element is Activated: depressed, checked, marked, etc. On, ///Element is in indeterminate state: partially checked, etc. Indeterminate } ////// Represents UI elements that have a set of states that can by cycled through such as a checkbox, or toggle button. /// #if (INTERNAL_COMPILE) internal static class TogglePatternIdentifiers #else public static class TogglePatternIdentifiers #endif { //----------------------------------------------------- // // Public Constants / Readonly Fields // //----------------------------------------------------- #region Public Constants and Readonly Fields ///Toggle pattern public static readonly AutomationPattern Pattern = AutomationPattern.Register(AutomationIdentifierGuids.Toggle_Pattern, "TogglePatternIdentifiers.Pattern"); ///Property ID: ToggleState - Value of a toggleable control, as a ToggleState enum public static readonly AutomationProperty ToggleStateProperty = AutomationProperty.Register(AutomationIdentifierGuids.Toggle_State_Property, "TogglePatternIdentifiers.ToggleStateProperty"); #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 Toggle Pattern // // History: // 04/15/2005 : MKarr Added // //--------------------------------------------------------------------------- using System; using MS.Internal.Automation; using System.Runtime.InteropServices; namespace System.Windows.Automation { ////// The set of states a Toggleable control can be in. /// [ComVisible(true)] [Guid("ad7db4af-7166-4478-a402-ad5b77eab2fa")] #if (NO_INTERNAL_COMPILE_BUG1080665) internal enum ToggleState #else public enum ToggleState #endif { ///Element is Not Activated: unpressed, unchecked, unmarked, etc. Off, ///Element is Activated: depressed, checked, marked, etc. On, ///Element is in indeterminate state: partially checked, etc. Indeterminate } ////// Represents UI elements that have a set of states that can by cycled through such as a checkbox, or toggle button. /// #if (INTERNAL_COMPILE) internal static class TogglePatternIdentifiers #else public static class TogglePatternIdentifiers #endif { //----------------------------------------------------- // // Public Constants / Readonly Fields // //----------------------------------------------------- #region Public Constants and Readonly Fields ///Toggle pattern public static readonly AutomationPattern Pattern = AutomationPattern.Register(AutomationIdentifierGuids.Toggle_Pattern, "TogglePatternIdentifiers.Pattern"); ///Property ID: ToggleState - Value of a toggleable control, as a ToggleState enum public static readonly AutomationProperty ToggleStateProperty = AutomationProperty.Register(AutomationIdentifierGuids.Toggle_State_Property, "TogglePatternIdentifiers.ToggleStateProperty"); #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
- ResourceManager.cs
- RuleRef.cs
- LabelAutomationPeer.cs
- DrawingState.cs
- OrderByBuilder.cs
- IgnoreFlushAndCloseStream.cs
- OLEDB_Enum.cs
- SqlConnectionStringBuilder.cs
- SessionStateItemCollection.cs
- FormsAuthenticationConfiguration.cs
- Margins.cs
- AspCompat.cs
- Matrix3D.cs
- FrugalMap.cs
- StaticSiteMapProvider.cs
- StringArrayConverter.cs
- Accessors.cs
- AnnotationResource.cs
- BitSet.cs
- SingleAnimation.cs
- ToolbarAUtomationPeer.cs
- WebConfigurationFileMap.cs
- ExpressionServices.cs
- NativeMethods.cs
- ExceptionAggregator.cs
- SerializationInfoEnumerator.cs
- EmbossBitmapEffect.cs
- GenericIdentity.cs
- PagesChangedEventArgs.cs
- RuleInfoComparer.cs
- SQLInt64.cs
- Menu.cs
- CodeDelegateInvokeExpression.cs
- CodeDomExtensionMethods.cs
- UseLicense.cs
- SQLInt16Storage.cs
- WebBrowserSiteBase.cs
- FileDialogCustomPlace.cs
- PropertyValueChangedEvent.cs
- SliderAutomationPeer.cs
- GridViewCellAutomationPeer.cs
- ResourceManagerWrapper.cs
- NumericPagerField.cs
- Win32.cs
- XsdDuration.cs
- MemberAssignment.cs
- ClassicBorderDecorator.cs
- DataPagerFieldItem.cs
- ItemContainerGenerator.cs
- StringResourceManager.cs
- ActivityValidator.cs
- SweepDirectionValidation.cs
- SchemaEntity.cs
- WindowsToolbarAsMenu.cs
- RetrieveVirtualItemEventArgs.cs
- DeclarativeExpressionConditionDeclaration.cs
- InkPresenter.cs
- LocalizeDesigner.cs
- DataView.cs
- TextTreeText.cs
- RightsController.cs
- OracleTimeSpan.cs
- HtmlWindowCollection.cs
- UnsafeNativeMethods.cs
- DataServiceKeyAttribute.cs
- MetadataItem.cs
- XmlSchemaSearchPattern.cs
- DynamicControl.cs
- BitmapVisualManager.cs
- ColumnHeaderConverter.cs
- SupportingTokenDuplexChannel.cs
- ContextMenuStrip.cs
- EnumerableRowCollection.cs
- UnsafeNativeMethods.cs
- MaskInputRejectedEventArgs.cs
- DataSourceExpression.cs
- COMException.cs
- WebRequestModulesSection.cs
- FloatAverageAggregationOperator.cs
- PtsHelper.cs
- WinEventHandler.cs
- ClientFormsAuthenticationCredentials.cs
- HMACSHA256.cs
- QilFactory.cs
- VarInfo.cs
- ExceptionUtility.cs
- GetPageNumberCompletedEventArgs.cs
- ResourceFallbackManager.cs
- FormatPage.cs
- DataGridViewColumnTypePicker.cs
- WebServiceFaultDesigner.cs
- GregorianCalendar.cs
- UserNamePasswordValidator.cs
- DesignerDataParameter.cs
- InputScopeConverter.cs
- DbConnectionClosed.cs
- GridViewRowPresenterBase.cs
- LocationReferenceValue.cs
- MasterPageBuildProvider.cs
- OracleEncoding.cs