Code:
/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / wpf / src / UIAutomation / UIAutomationTypes / System / Windows / Automation / SelectionItemPatternIdentifiers.cs / 1 / SelectionItemPatternIdentifiers.cs
//---------------------------------------------------------------------------- // //// Copyright (C) Microsoft Corporation. All rights reserved. // // // // Description: Automation Identifiers for SelectionItem Pattern // // History: // 04/15/2005 : MKarr Added // //--------------------------------------------------------------------------- using System; using System.Collections; using MS.Internal.Automation; namespace System.Windows.Automation { ////// Class representing containers that manage selection. /// #if (INTERNAL_COMPILE) internal static class SelectionItemPatternIdentifiers #else public static class SelectionItemPatternIdentifiers #endif { //----------------------------------------------------- // // Public Constants / Readonly Fields // //----------------------------------------------------- #region Public Constants and Readonly Fields ///SelectionItem pattern public static readonly AutomationPattern Pattern = AutomationPattern.Register(AutomationIdentifierGuids.SelectionItem_Pattern, "SelectionItemPatternIdentifiers.Pattern"); ///Indicates the element is currently selected. public static readonly AutomationProperty IsSelectedProperty = AutomationProperty.Register(AutomationIdentifierGuids.SelectionItem_IsSelected_Property, "SelectionItemPatternIdentifiers.IsSelectedProperty"); ///Indicates the element is currently selected. public static readonly AutomationProperty SelectionContainerProperty = AutomationProperty.Register(AutomationIdentifierGuids.SelectionItem_SelectionContainer_Property, "SelectionItemPatternIdentifiers.SelectionContainerProperty"); ////// Event ID: ElementAddedToSelection - indicates an element was added to the selection. /// sourceElement refers to the element that was added to the selection. /// public static readonly AutomationEvent ElementAddedToSelectionEvent = AutomationEvent.Register(AutomationIdentifierGuids.SelectionItem_ElementAddedToSelection_Event, "SelectionItemPatternIdentifiers.ElementAddedToSelectionEvent"); ////// Event ID: ElementRemovedFromSelection - indicates an element was removed from the selection. /// sourceElement refers to the element that was removed from the selection. /// public static readonly AutomationEvent ElementRemovedFromSelectionEvent = AutomationEvent.Register(AutomationIdentifierGuids.SelectionItem_ElementRemovedFromSelection_Event, "SelectionItemPatternIdentifiers.ElementRemovedFromSelectionEvent"); ////// Event ID: ElementSelected - indicates an element was selected in a selection container, deselecting /// any previously selected elements in that container. /// sourceElement refers to the selected element /// public static readonly AutomationEvent ElementSelectedEvent = AutomationEvent.Register(AutomationIdentifierGuids.SelectionItem_ElementSelected_Event, "SelectionItemPatternIdentifiers.ElementSelectedEvent"); #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 SelectionItem Pattern // // History: // 04/15/2005 : MKarr Added // //--------------------------------------------------------------------------- using System; using System.Collections; using MS.Internal.Automation; namespace System.Windows.Automation { ////// Class representing containers that manage selection. /// #if (INTERNAL_COMPILE) internal static class SelectionItemPatternIdentifiers #else public static class SelectionItemPatternIdentifiers #endif { //----------------------------------------------------- // // Public Constants / Readonly Fields // //----------------------------------------------------- #region Public Constants and Readonly Fields ///SelectionItem pattern public static readonly AutomationPattern Pattern = AutomationPattern.Register(AutomationIdentifierGuids.SelectionItem_Pattern, "SelectionItemPatternIdentifiers.Pattern"); ///Indicates the element is currently selected. public static readonly AutomationProperty IsSelectedProperty = AutomationProperty.Register(AutomationIdentifierGuids.SelectionItem_IsSelected_Property, "SelectionItemPatternIdentifiers.IsSelectedProperty"); ///Indicates the element is currently selected. public static readonly AutomationProperty SelectionContainerProperty = AutomationProperty.Register(AutomationIdentifierGuids.SelectionItem_SelectionContainer_Property, "SelectionItemPatternIdentifiers.SelectionContainerProperty"); ////// Event ID: ElementAddedToSelection - indicates an element was added to the selection. /// sourceElement refers to the element that was added to the selection. /// public static readonly AutomationEvent ElementAddedToSelectionEvent = AutomationEvent.Register(AutomationIdentifierGuids.SelectionItem_ElementAddedToSelection_Event, "SelectionItemPatternIdentifiers.ElementAddedToSelectionEvent"); ////// Event ID: ElementRemovedFromSelection - indicates an element was removed from the selection. /// sourceElement refers to the element that was removed from the selection. /// public static readonly AutomationEvent ElementRemovedFromSelectionEvent = AutomationEvent.Register(AutomationIdentifierGuids.SelectionItem_ElementRemovedFromSelection_Event, "SelectionItemPatternIdentifiers.ElementRemovedFromSelectionEvent"); ////// Event ID: ElementSelected - indicates an element was selected in a selection container, deselecting /// any previously selected elements in that container. /// sourceElement refers to the selected element /// public static readonly AutomationEvent ElementSelectedEvent = AutomationEvent.Register(AutomationIdentifierGuids.SelectionItem_ElementSelected_Event, "SelectionItemPatternIdentifiers.ElementSelectedEvent"); #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
- DataGridView.cs
- _SingleItemRequestCache.cs
- MetabaseServerConfig.cs
- HotCommands.cs
- WebPartTracker.cs
- TextChangedEventArgs.cs
- FontInfo.cs
- BinarySerializer.cs
- CodeAttributeDeclaration.cs
- Convert.cs
- ExpressionVisitorHelpers.cs
- MenuItemStyleCollection.cs
- BitmapFrame.cs
- AssemblyName.cs
- AppDomainFactory.cs
- UnsafeNativeMethodsTablet.cs
- WebRequestModulesSection.cs
- RectAnimation.cs
- FontNamesConverter.cs
- WebPartAuthorizationEventArgs.cs
- IpcManager.cs
- ContainerTracking.cs
- HtmlInputFile.cs
- ManagementScope.cs
- CodeTypeOfExpression.cs
- LocalServiceSecuritySettingsElement.cs
- XmlRootAttribute.cs
- SoapConverter.cs
- Transactions.cs
- CompositeDesignerAccessibleObject.cs
- PrivilegedConfigurationManager.cs
- FormsIdentity.cs
- GeneralTransform3DTo2DTo3D.cs
- EditorZone.cs
- MouseCaptureWithinProperty.cs
- DataGridViewButtonColumn.cs
- DateRangeEvent.cs
- ObjectViewEntityCollectionData.cs
- SoapAttributeOverrides.cs
- DayRenderEvent.cs
- HelpInfo.cs
- OleDragDropHandler.cs
- ZoomPercentageConverter.cs
- DelegateBodyWriter.cs
- exports.cs
- DataRelation.cs
- HtmlPhoneCallAdapter.cs
- cache.cs
- COM2Enum.cs
- XMLSchema.cs
- Transform3DGroup.cs
- AutomationIdentifier.cs
- GenericTypeParameterBuilder.cs
- SQLByteStorage.cs
- QilGenerator.cs
- CommonObjectSecurity.cs
- DataGridViewCheckBoxColumn.cs
- DataStreams.cs
- M3DUtil.cs
- XmlSchemaInferenceException.cs
- SerializableTypeCodeDomSerializer.cs
- GenerateTemporaryTargetAssembly.cs
- HttpGetProtocolReflector.cs
- SystemIPGlobalStatistics.cs
- ActivityInfo.cs
- DataAdapter.cs
- LabelEditEvent.cs
- Matrix3DValueSerializer.cs
- MinMaxParagraphWidth.cs
- BoundPropertyEntry.cs
- ExecutedRoutedEventArgs.cs
- CharAnimationBase.cs
- MruCache.cs
- ApplicationProxyInternal.cs
- metadatamappinghashervisitor.cs
- StreamWithDictionary.cs
- Button.cs
- DataSysAttribute.cs
- WindowsStatic.cs
- UnmanagedMarshal.cs
- Scene3D.cs
- StateRuntime.cs
- LogAppendAsyncResult.cs
- RedistVersionInfo.cs
- FilteredDataSetHelper.cs
- Drawing.cs
- ExtensionQuery.cs
- TextPointer.cs
- StyleModeStack.cs
- DesignBindingPropertyDescriptor.cs
- BaseValidator.cs
- Cloud.cs
- TemplateBaseAction.cs
- FacetDescription.cs
- StoryFragments.cs
- ListViewGroupItemCollection.cs
- ComponentManagerBroker.cs
- GeneralTransformGroup.cs
- LicenseContext.cs
- ConsoleKeyInfo.cs