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
- PieceDirectory.cs
- TransactionManager.cs
- Comparer.cs
- HtmlTitle.cs
- ForeignKeyFactory.cs
- Permission.cs
- IPCCacheManager.cs
- SqlDataSourceView.cs
- EditorPart.cs
- XpsPackagingPolicy.cs
- PreservationFileReader.cs
- ProviderBase.cs
- DrawingBrush.cs
- PagesSection.cs
- StringUtil.cs
- PerformanceCounterPermissionEntry.cs
- ListViewDataItem.cs
- LazyTextWriterCreator.cs
- OleDbCommand.cs
- XmlSerializerOperationBehavior.cs
- WithParamAction.cs
- ReferentialConstraint.cs
- BufferBuilder.cs
- DataServiceQueryException.cs
- XmlAttribute.cs
- Matrix3DConverter.cs
- AssemblyAssociatedContentFileAttribute.cs
- UnsignedPublishLicense.cs
- XmlDictionaryReader.cs
- FacetChecker.cs
- BindStream.cs
- SByteStorage.cs
- NavigationService.cs
- HScrollBar.cs
- _ListenerResponseStream.cs
- ArgIterator.cs
- MonthChangedEventArgs.cs
- SchemaElement.cs
- SamlSerializer.cs
- ComponentChangingEvent.cs
- ScriptReference.cs
- CookieHandler.cs
- CodeSnippetTypeMember.cs
- DeploymentSection.cs
- Screen.cs
- ObjectCloneHelper.cs
- AssociationTypeEmitter.cs
- UnaryOperationBinder.cs
- DesignTimeTemplateParser.cs
- ContentElementAutomationPeer.cs
- TextEditorCharacters.cs
- IpcChannel.cs
- InvalidOleVariantTypeException.cs
- CommandLibraryHelper.cs
- DataProtection.cs
- BoundPropertyEntry.cs
- OutOfMemoryException.cs
- RowsCopiedEventArgs.cs
- XmlSchemaComplexContent.cs
- KeyEvent.cs
- Oci.cs
- ScalarType.cs
- TraceSection.cs
- AsymmetricKeyExchangeDeformatter.cs
- XmlAtomicValue.cs
- PackageStore.cs
- AsymmetricSecurityProtocol.cs
- CommentGlyph.cs
- VectorConverter.cs
- ListCollectionView.cs
- PostBackTrigger.cs
- DictionaryCustomTypeDescriptor.cs
- AssertFilter.cs
- handlecollector.cs
- EntityTypeBase.cs
- StringSorter.cs
- ComponentCollection.cs
- XmlText.cs
- ByteConverter.cs
- VisualProxy.cs
- NetNamedPipeSecurityMode.cs
- SecurityUtils.cs
- XmlAttributes.cs
- DocumentCollection.cs
- TdsParserSessionPool.cs
- DiscoveryServerProtocol.cs
- BinaryMethodMessage.cs
- SurrogateEncoder.cs
- SatelliteContractVersionAttribute.cs
- ShaperBuffers.cs
- ImportCatalogPart.cs
- SystemThemeKey.cs
- TimeSpanStorage.cs
- QilSortKey.cs
- SessionStateModule.cs
- DbDataSourceEnumerator.cs
- QueryPageSettingsEventArgs.cs
- HtmlHistory.cs
- WebBrowserHelper.cs
- NativeMethods.cs