Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / wpf / src / UIAutomation / UIAutomationTypes / System / Windows / Automation / SelectionPatternIdentifiers.cs / 1 / SelectionPatternIdentifiers.cs
//---------------------------------------------------------------------------- // //// Copyright (C) Microsoft Corporation. All rights reserved. // // // // Description: Automation Identifiers for Selection Pattern // // History: // 04/15/2005 : MKarr Added // //--------------------------------------------------------------------------- using System; using System.Collections; using System.ComponentModel; using MS.Internal.Automation; namespace System.Windows.Automation { ////// Class representing containers that manage selection. /// #if (INTERNAL_COMPILE) internal static class SelectionPatternIdentifiers #else public static class SelectionPatternIdentifiers #endif { //----------------------------------------------------- // // Public Constants / Readonly Fields // //----------------------------------------------------- #region Public Constants and Readonly Fields ///Selection pattern public static readonly AutomationPattern Pattern = AutomationPattern.Register(AutomationIdentifierGuids.Selection_Pattern, "SelectionPatternIdentifiers.Pattern"); ///Get the currently selected elements public static readonly AutomationProperty SelectionProperty = AutomationProperty.Register(AutomationIdentifierGuids.Selection_Selection_Property, "SelectionPatternIdentifiers.SelectionProperty"); ///Indicates whether the control allows more than one element to be selected public static readonly AutomationProperty CanSelectMultipleProperty = AutomationProperty.Register(AutomationIdentifierGuids.Selection_CanSelectMultiple_Property, "SelectionPatternIdentifiers.CanSelectMultipleProperty"); ///Indicates whether the control requires at least one element to be selected public static readonly AutomationProperty IsSelectionRequiredProperty = AutomationProperty.Register(AutomationIdentifierGuids.Selection_IsSelectionRequired_Property, "SelectionPatternIdentifiers.IsSelectionRequiredProperty"); ////// Event ID: SelectionInvalidated - indicates that selection changed in a selection conainer. /// sourceElement refers to the selection container /// public static readonly AutomationEvent InvalidatedEvent = AutomationEvent.Register(AutomationIdentifierGuids.Selection_Invalidated_Event, "SelectionPatternIdentifiers.InvalidatedEvent"); #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 Selection Pattern // // History: // 04/15/2005 : MKarr Added // //--------------------------------------------------------------------------- using System; using System.Collections; using System.ComponentModel; using MS.Internal.Automation; namespace System.Windows.Automation { ////// Class representing containers that manage selection. /// #if (INTERNAL_COMPILE) internal static class SelectionPatternIdentifiers #else public static class SelectionPatternIdentifiers #endif { //----------------------------------------------------- // // Public Constants / Readonly Fields // //----------------------------------------------------- #region Public Constants and Readonly Fields ///Selection pattern public static readonly AutomationPattern Pattern = AutomationPattern.Register(AutomationIdentifierGuids.Selection_Pattern, "SelectionPatternIdentifiers.Pattern"); ///Get the currently selected elements public static readonly AutomationProperty SelectionProperty = AutomationProperty.Register(AutomationIdentifierGuids.Selection_Selection_Property, "SelectionPatternIdentifiers.SelectionProperty"); ///Indicates whether the control allows more than one element to be selected public static readonly AutomationProperty CanSelectMultipleProperty = AutomationProperty.Register(AutomationIdentifierGuids.Selection_CanSelectMultiple_Property, "SelectionPatternIdentifiers.CanSelectMultipleProperty"); ///Indicates whether the control requires at least one element to be selected public static readonly AutomationProperty IsSelectionRequiredProperty = AutomationProperty.Register(AutomationIdentifierGuids.Selection_IsSelectionRequired_Property, "SelectionPatternIdentifiers.IsSelectionRequiredProperty"); ////// Event ID: SelectionInvalidated - indicates that selection changed in a selection conainer. /// sourceElement refers to the selection container /// public static readonly AutomationEvent InvalidatedEvent = AutomationEvent.Register(AutomationIdentifierGuids.Selection_Invalidated_Event, "SelectionPatternIdentifiers.InvalidatedEvent"); #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
- VariableValue.cs
- FolderBrowserDialog.cs
- RowCache.cs
- RuleAttributes.cs
- COM2AboutBoxPropertyDescriptor.cs
- TreeNodeCollection.cs
- TextParaLineResult.cs
- ImageBrush.cs
- NumberFormatter.cs
- DependencyPropertyValueSerializer.cs
- DBConcurrencyException.cs
- X509Certificate2Collection.cs
- WebPartConnectionsEventArgs.cs
- HtmlTableRowCollection.cs
- DefaultAssemblyResolver.cs
- XmlSchemaCompilationSettings.cs
- ContainerUtilities.cs
- InvalidFilterCriteriaException.cs
- While.cs
- EditingCoordinator.cs
- InternalControlCollection.cs
- odbcmetadatacollectionnames.cs
- WindowsComboBox.cs
- securestring.cs
- EntityDataSourceEntityTypeFilterItem.cs
- BinaryMessageEncodingElement.cs
- CodeTypeDelegate.cs
- GlobalizationSection.cs
- HttpCapabilitiesSectionHandler.cs
- DataFormats.cs
- StatusBarAutomationPeer.cs
- ModuleElement.cs
- EdmSchemaError.cs
- DataTableMappingCollection.cs
- PageParser.cs
- DataGridViewCellConverter.cs
- FontConverter.cs
- XslCompiledTransform.cs
- MediaScriptCommandRoutedEventArgs.cs
- Touch.cs
- Schema.cs
- ObjectSelectorEditor.cs
- CorrelationValidator.cs
- OdbcEnvironment.cs
- TextEmbeddedObject.cs
- AssemblyBuilder.cs
- OrderedDictionary.cs
- OleDbRowUpdatedEvent.cs
- ListenerSessionConnection.cs
- BitmapScalingModeValidation.cs
- RelationshipEndMember.cs
- XmlNavigatorFilter.cs
- VariableBinder.cs
- UndoManager.cs
- WebUtility.cs
- DataGridViewRowPostPaintEventArgs.cs
- __TransparentProxy.cs
- CrossContextChannel.cs
- NativeCompoundFileAPIs.cs
- SqlMultiplexer.cs
- TypeBuilder.cs
- UrlPath.cs
- TabPanel.cs
- DataGridViewLayoutData.cs
- SafeArchiveContext.cs
- FontUnitConverter.cs
- SqlDataSourceStatusEventArgs.cs
- LocalizationComments.cs
- EdgeModeValidation.cs
- XmlDesignerDataSourceView.cs
- DeferredRunTextReference.cs
- EncodingDataItem.cs
- RegexTree.cs
- ComEventsInfo.cs
- DesignerLoader.cs
- MailSettingsSection.cs
- BaseProcessor.cs
- ExpressionsCollectionConverter.cs
- IIS7ConfigurationLoader.cs
- SystemWebCachingSectionGroup.cs
- SchemaType.cs
- Size3D.cs
- BindingMemberInfo.cs
- Rotation3D.cs
- SecurityPolicySection.cs
- PathSegment.cs
- HybridDictionary.cs
- _emptywebproxy.cs
- ShortcutKeysEditor.cs
- COM2IDispatchConverter.cs
- Vector3dCollection.cs
- ExtensionDataReader.cs
- ToolStripItemEventArgs.cs
- SafeViewOfFileHandle.cs
- UnicastIPAddressInformationCollection.cs
- Brushes.cs
- CapabilitiesState.cs
- NonVisualControlAttribute.cs
- BamlRecordReader.cs
- LassoHelper.cs