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
- MetadataItem.cs
- EditorPart.cs
- DataSourceExpressionCollection.cs
- DropShadowEffect.cs
- DbProviderSpecificTypePropertyAttribute.cs
- MenuItemCollection.cs
- TableItemProviderWrapper.cs
- TransactionBridge.cs
- FontDialog.cs
- ValueOfAction.cs
- Matrix3D.cs
- assemblycache.cs
- localization.cs
- FixedPage.cs
- VisualProxy.cs
- FlowNode.cs
- ScrollBarRenderer.cs
- ViewCellSlot.cs
- SQLBinary.cs
- XsltException.cs
- SrgsElement.cs
- SettingsContext.cs
- CommandBinding.cs
- EntityConnectionStringBuilderItem.cs
- ThicknessAnimation.cs
- DrawingContext.cs
- SBCSCodePageEncoding.cs
- CodeChecksumPragma.cs
- NamespaceList.cs
- VectorAnimationUsingKeyFrames.cs
- EntityDataSourceState.cs
- DocumentCollection.cs
- SoapExtensionImporter.cs
- TypeDescriptor.cs
- BookmarkScope.cs
- MappingItemCollection.cs
- safePerfProviderHandle.cs
- VolatileResourceManager.cs
- CmsUtils.cs
- PersonalizableAttribute.cs
- DataListItemEventArgs.cs
- EditorBrowsableAttribute.cs
- SafeLibraryHandle.cs
- XappLauncher.cs
- FileDialogPermission.cs
- EntitySqlQueryBuilder.cs
- SortAction.cs
- CurrencyWrapper.cs
- DataColumn.cs
- PropertyDescriptorComparer.cs
- MimeMultiPart.cs
- LockedHandleGlyph.cs
- TextRangeProviderWrapper.cs
- TypeElement.cs
- SingleTagSectionHandler.cs
- CacheHelper.cs
- InputLanguageManager.cs
- Asn1IntegerConverter.cs
- SchemaCollectionPreprocessor.cs
- TrackingProfileDeserializationException.cs
- ConstraintManager.cs
- ProvidePropertyAttribute.cs
- FieldAccessException.cs
- TextDecorationCollection.cs
- MetadataArtifactLoader.cs
- HttpListener.cs
- DataBinder.cs
- DbQueryCommandTree.cs
- ContentPosition.cs
- WebMessageFormatHelper.cs
- IndentTextWriter.cs
- WindowShowOrOpenTracker.cs
- EmissiveMaterial.cs
- ThreadAbortException.cs
- DataServiceRequestException.cs
- unsafenativemethodsother.cs
- RenderingEventArgs.cs
- ImageListUtils.cs
- WeakReadOnlyCollection.cs
- XpsPackagingException.cs
- DependencyPropertyHelper.cs
- SeekStoryboard.cs
- RootBuilder.cs
- ControlCachePolicy.cs
- TransformerInfoCollection.cs
- ElementHost.cs
- KeyFrames.cs
- RootBrowserWindowAutomationPeer.cs
- ResourceDescriptionAttribute.cs
- TypeConverterHelper.cs
- DataList.cs
- KerberosTicketHashIdentifierClause.cs
- TraceUtils.cs
- Avt.cs
- OutputCacheProfileCollection.cs
- BookmarkEventArgs.cs
- ManagedWndProcTracker.cs
- TemplateParser.cs
- Cloud.cs
- NameTable.cs