Code:
/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / Orcas / NetFXw7 / 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
- Int32Rect.cs
- sqlpipe.cs
- TimeIntervalCollection.cs
- DataRelation.cs
- ValidateNames.cs
- SaveFileDialog.cs
- SortFieldComparer.cs
- AlternateViewCollection.cs
- IndicShape.cs
- MemberInfoSerializationHolder.cs
- LinqDataSourceValidationException.cs
- GregorianCalendar.cs
- TableSectionStyle.cs
- DataGridBoundColumn.cs
- Filter.cs
- CacheMode.cs
- LockRecursionException.cs
- TextTreeExtractElementUndoUnit.cs
- DataMisalignedException.cs
- ConstraintCollection.cs
- ObjectViewListener.cs
- Vector3DCollection.cs
- BamlResourceContent.cs
- ObjectPersistData.cs
- LineInfo.cs
- NullableLongSumAggregationOperator.cs
- UrlAuthFailedErrorFormatter.cs
- Span.cs
- IconBitmapDecoder.cs
- ApplicationServicesHostFactory.cs
- DefaultIfEmptyQueryOperator.cs
- BeginEvent.cs
- SqlUserDefinedTypeAttribute.cs
- CaseCqlBlock.cs
- RequiredFieldValidator.cs
- DelayedRegex.cs
- PropertyDescriptor.cs
- XmlnsCompatibleWithAttribute.cs
- CharacterShapingProperties.cs
- RemotingServices.cs
- TempEnvironment.cs
- Stack.cs
- FixedPage.cs
- CaseInsensitiveOrdinalStringComparer.cs
- ButtonBaseDesigner.cs
- DBCommand.cs
- EventRecord.cs
- SystemPens.cs
- LogExtent.cs
- XmlHierarchicalDataSourceView.cs
- DbUpdateCommandTree.cs
- counter.cs
- DependencyObjectCodeDomSerializer.cs
- DetailsViewDeleteEventArgs.cs
- GeometryCollection.cs
- OpenTypeMethods.cs
- CompilationLock.cs
- EFTableProvider.cs
- PersonalizableTypeEntry.cs
- AppDomainManager.cs
- SqlDataSourceFilteringEventArgs.cs
- FrameworkElement.cs
- Restrictions.cs
- PreApplicationStartMethodAttribute.cs
- EncoderBestFitFallback.cs
- BitmapSource.cs
- PageHandlerFactory.cs
- MappingModelBuildProvider.cs
- Point3DAnimationUsingKeyFrames.cs
- ProviderConnectionPoint.cs
- Executor.cs
- InputScopeConverter.cs
- UnknownBitmapDecoder.cs
- OdbcConnectionOpen.cs
- RC2CryptoServiceProvider.cs
- NameValueCollection.cs
- TypeToken.cs
- ViewCellSlot.cs
- TextContainerHelper.cs
- MediaContextNotificationWindow.cs
- SyndicationContent.cs
- DataIdProcessor.cs
- DataGridViewDataErrorEventArgs.cs
- DataGridTable.cs
- ActivityTypeCodeDomSerializer.cs
- UMPAttributes.cs
- WebPartMenuStyle.cs
- TriState.cs
- AppDomainProtocolHandler.cs
- TemplateBindingExtension.cs
- DataGridViewCellParsingEventArgs.cs
- SmiSettersStream.cs
- BitVector32.cs
- TypedDataSetSchemaImporterExtensionFx35.cs
- OrderedEnumerableRowCollection.cs
- ObjectDataSourceMethodEventArgs.cs
- LiteralControl.cs
- ArglessEventHandlerProxy.cs
- IdentityReference.cs
- ColumnMapTranslator.cs