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
- ClientSettingsStore.cs
- UnsafeNativeMethods.cs
- SubqueryRules.cs
- SqlNode.cs
- SourceInterpreter.cs
- SortQueryOperator.cs
- RemotingException.cs
- ProfileProvider.cs
- FixedDocumentSequencePaginator.cs
- SQLDateTimeStorage.cs
- Point3DIndependentAnimationStorage.cs
- InvokeWebServiceDesigner.cs
- DataAccessor.cs
- GridView.cs
- DataGridViewRowEventArgs.cs
- Compiler.cs
- GridItem.cs
- EventWaitHandleSecurity.cs
- CatalogZoneBase.cs
- FontSizeConverter.cs
- BuiltInPermissionSets.cs
- Enum.cs
- SelectionItemPattern.cs
- OverflowException.cs
- XmlConvert.cs
- CompoundFileStorageReference.cs
- RemoteWebConfigurationHost.cs
- IncrementalReadDecoders.cs
- SafeFileHandle.cs
- PersonalizationAdministration.cs
- XamlPathDataSerializer.cs
- StickyNote.cs
- TextEmbeddedObject.cs
- SelectionProviderWrapper.cs
- DesignTimeVisibleAttribute.cs
- LayoutEngine.cs
- SafeTokenHandle.cs
- ComNativeDescriptor.cs
- BlobPersonalizationState.cs
- SecurityRuntime.cs
- XmlSiteMapProvider.cs
- XmlSequenceWriter.cs
- FileIOPermission.cs
- SerTrace.cs
- SecurityDescriptor.cs
- CustomWebEventKey.cs
- QueryExecutionOption.cs
- MultiPropertyDescriptorGridEntry.cs
- regiisutil.cs
- TextTreeUndoUnit.cs
- PersistenceIOParticipant.cs
- InternalEnumValidatorAttribute.cs
- TextTreeRootNode.cs
- WorkflowQueueInfo.cs
- _WebProxyDataBuilder.cs
- SendActivityDesignerTheme.cs
- DateTimeSerializationSection.cs
- TraceProvider.cs
- AutomationPropertyInfo.cs
- RuleSettingsCollection.cs
- CodeThrowExceptionStatement.cs
- mediaeventshelper.cs
- WebConfigurationFileMap.cs
- CompilationUnit.cs
- PropertyToken.cs
- MatrixAnimationUsingPath.cs
- CatalogPartCollection.cs
- HttpChannelHelper.cs
- AffineTransform3D.cs
- ComponentDispatcher.cs
- Vector3DValueSerializer.cs
- TemplateXamlParser.cs
- ConditionalAttribute.cs
- PackageDigitalSignature.cs
- UnionCodeGroup.cs
- LambdaCompiler.cs
- PermissionToken.cs
- AnimationLayer.cs
- _PooledStream.cs
- RefreshPropertiesAttribute.cs
- ProfileBuildProvider.cs
- InitiatorSessionSymmetricTransportSecurityProtocol.cs
- BaseParser.cs
- ResourcesGenerator.cs
- Section.cs
- DataControlButton.cs
- ProfileEventArgs.cs
- PermissionListSet.cs
- DependencyObjectCodeDomSerializer.cs
- StyleSelector.cs
- BackgroundWorker.cs
- MessageOperationFormatter.cs
- ImageListStreamer.cs
- GridErrorDlg.cs
- CodeDirectoryCompiler.cs
- FunctionDefinition.cs
- HideDisabledControlAdapter.cs
- Stylus.cs
- Identifier.cs
- SqlCacheDependencyDatabase.cs