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
- CollectionViewGroup.cs
- ActivationArguments.cs
- ListenerElementsCollection.cs
- MtomMessageEncodingElement.cs
- AutoResetEvent.cs
- EditorZoneBase.cs
- TaiwanCalendar.cs
- TraceUtility.cs
- UpdatePanelTrigger.cs
- basevalidator.cs
- EventLogLink.cs
- XamlToRtfWriter.cs
- PeerTransportListenAddressValidatorAttribute.cs
- MenuItem.cs
- WindowsTokenRoleProvider.cs
- DataGridViewHitTestInfo.cs
- HttpApplication.cs
- sortedlist.cs
- HttpTransportBindingElement.cs
- PrivilegeNotHeldException.cs
- Vector3DAnimation.cs
- Size3D.cs
- DrawingServices.cs
- SubMenuStyle.cs
- URLAttribute.cs
- StreamingContext.cs
- LoginName.cs
- RegistrationServices.cs
- FixedDocumentPaginator.cs
- WindowsIdentity.cs
- ValidationSummary.cs
- AdCreatedEventArgs.cs
- ListControlBuilder.cs
- DataListItem.cs
- TemplatePropertyEntry.cs
- TagPrefixInfo.cs
- ScriptDescriptor.cs
- AdornerPresentationContext.cs
- MaskDesignerDialog.cs
- EmptyStringExpandableObjectConverter.cs
- TextRangeEdit.cs
- XmlCompatibilityReader.cs
- InvalidDataException.cs
- ScrollProviderWrapper.cs
- UnsafeNativeMethods.cs
- DocumentPageHost.cs
- HashCodeCombiner.cs
- TdsRecordBufferSetter.cs
- ConfigXmlCDataSection.cs
- BevelBitmapEffect.cs
- DBCommandBuilder.cs
- ScriptReferenceBase.cs
- JsonObjectDataContract.cs
- ColorContextHelper.cs
- XPathAncestorQuery.cs
- HostedTcpTransportManager.cs
- AutomationElementIdentifiers.cs
- AdapterUtil.cs
- UrlPath.cs
- SamlConstants.cs
- BamlResourceContent.cs
- NestPullup.cs
- BaseUriHelper.cs
- CapabilitiesAssignment.cs
- CalendarDay.cs
- StateBag.cs
- OdbcConnectionStringbuilder.cs
- InProcStateClientManager.cs
- XmlSchemaProviderAttribute.cs
- BufferedGraphicsContext.cs
- FontNameConverter.cs
- IPipelineRuntime.cs
- FormViewPagerRow.cs
- TextEditorSpelling.cs
- BitArray.cs
- Metadata.cs
- mansign.cs
- DeclarativeCatalogPart.cs
- Matrix3DValueSerializer.cs
- URLMembershipCondition.cs
- DataGridViewButtonCell.cs
- GB18030Encoding.cs
- KeysConverter.cs
- CollectionAdapters.cs
- Matrix3D.cs
- _Connection.cs
- ZipIOLocalFileHeader.cs
- IOException.cs
- ToolBarPanel.cs
- SoapSchemaMember.cs
- QueryOptionExpression.cs
- TabControlCancelEvent.cs
- securitycriticaldata.cs
- ParameterCollectionEditor.cs
- ParsedAttributeCollection.cs
- EdmEntityTypeAttribute.cs
- CopyNodeSetAction.cs
- BuildProvider.cs
- DataSourceConverter.cs
- SapiRecoInterop.cs