Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / 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
- InternalControlCollection.cs
- TraceData.cs
- RequestBringIntoViewEventArgs.cs
- FunctionNode.cs
- TextPatternIdentifiers.cs
- ConfigurationManagerHelper.cs
- TreeViewHitTestInfo.cs
- TextRangeAdaptor.cs
- DependencyPropertyAttribute.cs
- WeakEventManager.cs
- ValidatingCollection.cs
- DesignerAdapterUtil.cs
- CopyOnWriteList.cs
- safesecurityhelperavalon.cs
- DelegateBodyWriter.cs
- GridItem.cs
- CodeAttributeArgument.cs
- JsonUriDataContract.cs
- LinkUtilities.cs
- MarkupObject.cs
- FrameworkContentElement.cs
- oledbconnectionstring.cs
- DataGridViewSelectedRowCollection.cs
- SQLGuidStorage.cs
- KeyFrames.cs
- DataGridViewCellEventArgs.cs
- BuildManagerHost.cs
- NameValueSectionHandler.cs
- PartitionResolver.cs
- DataGridViewImageColumn.cs
- ObjectStateEntryDbUpdatableDataRecord.cs
- ProxyFragment.cs
- TextProviderWrapper.cs
- Int32EqualityComparer.cs
- ObjectStateEntryBaseUpdatableDataRecord.cs
- HTMLTagNameToTypeMapper.cs
- ResourcesBuildProvider.cs
- LoginUtil.cs
- TabletCollection.cs
- CompensationDesigner.cs
- XmlNotation.cs
- EditingCommands.cs
- ExtensionElementCollection.cs
- XmlSchema.cs
- Rect3D.cs
- QilFunction.cs
- DynamicILGenerator.cs
- TextProperties.cs
- SqlDataSourceCache.cs
- EmptyReadOnlyDictionaryInternal.cs
- FormViewPageEventArgs.cs
- HandleExceptionArgs.cs
- RequestQueue.cs
- ObjectDataSource.cs
- SearchForVirtualItemEventArgs.cs
- DataGridViewLinkCell.cs
- CustomAttributeBuilder.cs
- AmbientProperties.cs
- ContainerControl.cs
- StatusBar.cs
- TextEditorTyping.cs
- ClientSettings.cs
- ManagedWndProcTracker.cs
- ProcessInputEventArgs.cs
- PeerResolverBindingElement.cs
- Rotation3DKeyFrameCollection.cs
- EntityDescriptor.cs
- DataConnectionHelper.cs
- RelationshipManager.cs
- InvalidPipelineStoreException.cs
- FormViewUpdateEventArgs.cs
- SoapTypeAttribute.cs
- AssemblyResourceLoader.cs
- nulltextcontainer.cs
- ClientScriptManager.cs
- ValueType.cs
- RemotingSurrogateSelector.cs
- PropertyEntry.cs
- HttpResponse.cs
- DataGridPageChangedEventArgs.cs
- DataServiceRequest.cs
- ConfigurationValidatorBase.cs
- ListViewUpdatedEventArgs.cs
- StreamUpdate.cs
- RSAOAEPKeyExchangeFormatter.cs
- SiteMapDataSource.cs
- PartialCachingAttribute.cs
- HostingEnvironmentSection.cs
- ErrorTableItemStyle.cs
- DataListItemCollection.cs
- ConnectionStringSettingsCollection.cs
- EntityConnection.cs
- HttpProfileGroupBase.cs
- Action.cs
- TextSearch.cs
- ConnectionProviderAttribute.cs
- EmbeddedObject.cs
- __TransparentProxy.cs
- XPathBinder.cs
- WindowPattern.cs