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
- _WinHttpWebProxyDataBuilder.cs
- OdbcException.cs
- SafeNativeMethods.cs
- _BufferOffsetSize.cs
- Attributes.cs
- ValueConversionAttribute.cs
- DataBoundLiteralControl.cs
- Memoizer.cs
- UrlAuthorizationModule.cs
- SessionStateModule.cs
- OpenFileDialog.cs
- SqlFactory.cs
- XmlILOptimizerVisitor.cs
- assemblycache.cs
- StackSpiller.Bindings.cs
- Context.cs
- RemotingSurrogateSelector.cs
- StringUtil.cs
- FontDriver.cs
- SmiEventSink_Default.cs
- ResourcePermissionBase.cs
- UnsafeNativeMethodsPenimc.cs
- PropertyEntry.cs
- TitleStyle.cs
- TrustLevel.cs
- TextPenaltyModule.cs
- PixelShader.cs
- HostingEnvironmentException.cs
- DataBinding.cs
- ScaleTransform.cs
- FlowDocument.cs
- RegistrationServices.cs
- View.cs
- QueryStringParameter.cs
- TextEditorDragDrop.cs
- ComboBoxRenderer.cs
- DataTable.cs
- XmlIncludeAttribute.cs
- MediaContext.cs
- querybuilder.cs
- ExpressionBinding.cs
- TreeNodeClickEventArgs.cs
- CompressedStack.cs
- TraceShell.cs
- MethodRental.cs
- DefaultPropertyAttribute.cs
- RepeaterItemEventArgs.cs
- PerformanceCounterPermissionEntryCollection.cs
- ExpressionParser.cs
- SaveFileDialog.cs
- DataControlButton.cs
- Menu.cs
- ParallelTimeline.cs
- SiteIdentityPermission.cs
- WebContext.cs
- ZipFileInfoCollection.cs
- MemberPath.cs
- OutputCacheModule.cs
- StaticSiteMapProvider.cs
- Int16Converter.cs
- AppDomainGrammarProxy.cs
- KeyValueInternalCollection.cs
- HandleExceptionArgs.cs
- KeyboardInputProviderAcquireFocusEventArgs.cs
- ControlParser.cs
- DeferredSelectedIndexReference.cs
- LassoSelectionBehavior.cs
- BulletedList.cs
- SafeRightsManagementEnvironmentHandle.cs
- ConnectionPoolManager.cs
- FilterFactory.cs
- LinqMaximalSubtreeNominator.cs
- OdbcFactory.cs
- TypedCompletedAsyncResult.cs
- RowTypeElement.cs
- SelectedDatesCollection.cs
- Exceptions.cs
- SimpleRecyclingCache.cs
- Image.cs
- DependencyPropertyConverter.cs
- ColorAnimation.cs
- IntegerFacetDescriptionElement.cs
- InternalControlCollection.cs
- SimpleTypeResolver.cs
- RegexParser.cs
- MethodCallTranslator.cs
- GB18030Encoding.cs
- InvalidateEvent.cs
- BrowserDefinition.cs
- XmlMapping.cs
- CommandExpr.cs
- ExtractorMetadata.cs
- SelectionEditingBehavior.cs
- DbBuffer.cs
- SessionStateUtil.cs
- HostedElements.cs
- DocumentReferenceCollection.cs
- DataGridViewCheckBoxColumn.cs
- SimpleType.cs
- FormViewPagerRow.cs