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
- ExpressionWriter.cs
- HtmlWindow.cs
- Point3DKeyFrameCollection.cs
- WCFModelStrings.Designer.cs
- Margins.cs
- StatusBarItemAutomationPeer.cs
- XmlFormatExtensionPrefixAttribute.cs
- UnsafeNativeMethodsCLR.cs
- ColorContextHelper.cs
- Merger.cs
- Base64WriteStateInfo.cs
- StateElement.cs
- Internal.cs
- PackageRelationshipSelector.cs
- ActivityExecutor.cs
- DebugInfoExpression.cs
- ThreadStartException.cs
- SynchronizationContext.cs
- FontCacheUtil.cs
- FontConverter.cs
- PathSegmentCollection.cs
- SelectionChangedEventArgs.cs
- BufferBuilder.cs
- ProgressiveCrcCalculatingStream.cs
- AnimatedTypeHelpers.cs
- NameValuePair.cs
- SamlAssertionKeyIdentifierClause.cs
- DataSourceControlBuilder.cs
- ControlEvent.cs
- RawStylusSystemGestureInputReport.cs
- IPGlobalProperties.cs
- ContextConfiguration.cs
- FixedMaxHeap.cs
- HttpHandlerAction.cs
- PropertyCollection.cs
- BitmapSourceSafeMILHandle.cs
- ItemsControl.cs
- InputProviderSite.cs
- SByte.cs
- NetNamedPipeBindingCollectionElement.cs
- ManagedFilter.cs
- MatrixCamera.cs
- Identity.cs
- ContextBase.cs
- TableRowCollection.cs
- GcSettings.cs
- ProxyFragment.cs
- translator.cs
- SystemTcpStatistics.cs
- EventProviderBase.cs
- HierarchicalDataTemplate.cs
- CodeTypeParameterCollection.cs
- EntitySqlQueryBuilder.cs
- PixelFormat.cs
- CapiHashAlgorithm.cs
- RadialGradientBrush.cs
- TileBrush.cs
- NamedElement.cs
- ToolStripLocationCancelEventArgs.cs
- TextTrailingWordEllipsis.cs
- LinqDataSourceDeleteEventArgs.cs
- FillRuleValidation.cs
- FastPropertyAccessor.cs
- Converter.cs
- CopyCodeAction.cs
- MaskedTextBox.cs
- WMIInterop.cs
- PageThemeCodeDomTreeGenerator.cs
- StrongNameMembershipCondition.cs
- PermissionToken.cs
- DBSqlParserTableCollection.cs
- FieldNameLookup.cs
- CompilerInfo.cs
- HttpModuleCollection.cs
- Emitter.cs
- KeyTime.cs
- NativeCompoundFileAPIs.cs
- ConstructorNeedsTagAttribute.cs
- DockProviderWrapper.cs
- TextUtf8RawTextWriter.cs
- PerCallInstanceContextProvider.cs
- _StreamFramer.cs
- WebPartCancelEventArgs.cs
- MiniAssembly.cs
- SchemaMapping.cs
- EndpointAddressMessageFilter.cs
- SafeReadContext.cs
- RadioButtonAutomationPeer.cs
- TransformationRules.cs
- documentsequencetextview.cs
- NumericUpDownAccelerationCollection.cs
- SizeChangedInfo.cs
- StrongNamePublicKeyBlob.cs
- ConfigXmlCDataSection.cs
- NTAccount.cs
- DbInsertCommandTree.cs
- OutKeywords.cs
- ComponentEvent.cs
- AccessibilityHelperForXpWin2k3.cs
- XPathMessageFilterTable.cs