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
- ScriptComponentDescriptor.cs
- Classification.cs
- Misc.cs
- MethodRental.cs
- UnsafeNativeMethods.cs
- IUnknownConstantAttribute.cs
- HyperLink.cs
- MSG.cs
- GlyphCache.cs
- TemplateComponentConnector.cs
- PlatformCulture.cs
- ResizeGrip.cs
- SqlUDTStorage.cs
- METAHEADER.cs
- ExtensionDataReader.cs
- JsonStringDataContract.cs
- MulticastNotSupportedException.cs
- TagNameToTypeMapper.cs
- MediaCommands.cs
- RelationshipDetailsRow.cs
- LicenseContext.cs
- TagPrefixCollection.cs
- StaticContext.cs
- Html32TextWriter.cs
- VisualStyleInformation.cs
- ProtocolViolationException.cs
- EntityModelSchemaGenerator.cs
- CodeSubDirectoriesCollection.cs
- ThreadAbortException.cs
- ListItemCollection.cs
- sqlpipe.cs
- SoapTypeAttribute.cs
- UIPropertyMetadata.cs
- WorkflowInstanceSuspendedRecord.cs
- PreviewPrintController.cs
- PackUriHelper.cs
- ListBoxAutomationPeer.cs
- DataGridCell.cs
- ObjectItemConventionAssemblyLoader.cs
- ValidatorCollection.cs
- Size.cs
- TextBounds.cs
- ComplexTypeEmitter.cs
- UriParserTemplates.cs
- DependencyObjectPropertyDescriptor.cs
- Cell.cs
- TdsParameterSetter.cs
- Ray3DHitTestResult.cs
- DelegateSerializationHolder.cs
- SessionEndingEventArgs.cs
- COAUTHIDENTITY.cs
- MenuItemBindingCollection.cs
- StringDictionary.cs
- SplitterPanel.cs
- TrackBarRenderer.cs
- BackgroundWorker.cs
- MembershipSection.cs
- UserValidatedEventArgs.cs
- ImageSource.cs
- TreeWalkHelper.cs
- ActivationArguments.cs
- HybridObjectCache.cs
- Instrumentation.cs
- DataFormat.cs
- RawUIStateInputReport.cs
- ProcessStartInfo.cs
- PageBreakRecord.cs
- DbCommandDefinition.cs
- OutputCacheModule.cs
- Model3D.cs
- SoapElementAttribute.cs
- OracleBFile.cs
- Clause.cs
- ImageSource.cs
- SetState.cs
- ToolboxItemLoader.cs
- JsonReader.cs
- RuntimeTransactionHandle.cs
- MatrixAnimationUsingKeyFrames.cs
- VariableExpressionConverter.cs
- TraceContextEventArgs.cs
- MultiSelectRootGridEntry.cs
- InputReportEventArgs.cs
- UInt16Storage.cs
- ValueUtilsSmi.cs
- SqlDataAdapter.cs
- ImageList.cs
- ApplicationException.cs
- SqlRecordBuffer.cs
- StreamingContext.cs
- SrgsElement.cs
- SendKeys.cs
- SizeValueSerializer.cs
- Helpers.cs
- WebContext.cs
- SiteMapHierarchicalDataSourceView.cs
- CancellationHandler.cs
- KeyboardInputProviderAcquireFocusEventArgs.cs
- Misc.cs
- RNGCryptoServiceProvider.cs