Code:
/ DotNET / DotNET / 8.0 / untmp / WIN_WINDOWS / lh_tools_devdiv_wpf / Windows / AccessibleTech / longhorn / Automation / 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 : [....] 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
- DataGridCaption.cs
- InternalConfigSettingsFactory.cs
- PageAdapter.cs
- PropertyGridEditorPart.cs
- DbConnectionInternal.cs
- AccessText.cs
- Int64Converter.cs
- PointValueSerializer.cs
- CustomErrorsSection.cs
- KeyGesture.cs
- MappingItemCollection.cs
- ContextMenuStripGroup.cs
- odbcmetadatacollectionnames.cs
- ToolStripActionList.cs
- DataAdapter.cs
- FunctionCommandText.cs
- XmlLangPropertyAttribute.cs
- HtmlButton.cs
- ConnectionConsumerAttribute.cs
- StylusEditingBehavior.cs
- SmiEventSink_DeferedProcessing.cs
- BigInt.cs
- Activity.cs
- ListViewItem.cs
- VerificationException.cs
- WriteTimeStream.cs
- Verify.cs
- GroupBoxDesigner.cs
- HtmlTableRowCollection.cs
- ObjectDataSource.cs
- SerializableReadOnlyDictionary.cs
- ArrayExtension.cs
- CookieHandler.cs
- SecurityException.cs
- KeyPressEvent.cs
- ToolBarButton.cs
- HttpProfileGroupBase.cs
- XmlCollation.cs
- Serialization.cs
- AuthenticateEventArgs.cs
- SkipStoryboardToFill.cs
- UrlMappingsSection.cs
- backend.cs
- ActivityDesignerLayoutSerializers.cs
- Material.cs
- PropertyChangedEventArgs.cs
- ConfigXmlCDataSection.cs
- CaseInsensitiveHashCodeProvider.cs
- SubordinateTransaction.cs
- AppSecurityManager.cs
- UserNamePasswordValidationMode.cs
- DocumentSequenceHighlightLayer.cs
- FileVersionInfo.cs
- ReadOnlyCollection.cs
- XmlTextAttribute.cs
- CallId.cs
- SspiNegotiationTokenAuthenticatorState.cs
- SafeNativeMethods.cs
- ConfigXmlWhitespace.cs
- Attributes.cs
- And.cs
- IndicShape.cs
- SliderAutomationPeer.cs
- CustomAssemblyResolver.cs
- DateTimeStorage.cs
- ListViewCancelEventArgs.cs
- DesigntimeLicenseContext.cs
- WorkflowInstance.cs
- TreeNode.cs
- SystemWebSectionGroup.cs
- SharedHttpsTransportManager.cs
- HtmlListAdapter.cs
- ComponentEditorForm.cs
- SettingsAttributeDictionary.cs
- CompilerWrapper.cs
- BinaryWriter.cs
- NavigationWindow.cs
- WebPartUserCapability.cs
- dataSvcMapFileLoader.cs
- SimpleTypeResolver.cs
- SiteIdentityPermission.cs
- RuleAction.cs
- FrameworkContentElementAutomationPeer.cs
- ResourcePermissionBaseEntry.cs
- DateTimeUtil.cs
- ModulesEntry.cs
- DbTransaction.cs
- ReadOnlyActivityGlyph.cs
- ConfigurationManagerHelper.cs
- WebCodeGenerator.cs
- DBConcurrencyException.cs
- MdiWindowListItemConverter.cs
- Transform3D.cs
- AxDesigner.cs
- MeshGeometry3D.cs
- Point3DCollection.cs
- Variable.cs
- RawMouseInputReport.cs
- EventLogPermissionEntryCollection.cs
- metadatamappinghashervisitor.cs