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
- SafeFreeMibTable.cs
- HiddenFieldPageStatePersister.cs
- XmlSchemaException.cs
- FunctionImportMapping.ReturnTypeRenameMapping.cs
- XmlDocumentSchema.cs
- CompModSwitches.cs
- BindingGraph.cs
- AssemblyBuilder.cs
- OutputCacheProfile.cs
- XmlNamespaceManager.cs
- brushes.cs
- QueryableFilterUserControl.cs
- CommonXSendMessage.cs
- MissingMethodException.cs
- TextBlockAutomationPeer.cs
- EntityConnection.cs
- HtmlEmptyTagControlBuilder.cs
- WeakReadOnlyCollection.cs
- DescriptionAttribute.cs
- SvcMapFileSerializer.cs
- LineGeometry.cs
- DropShadowBitmapEffect.cs
- PathTooLongException.cs
- EntityTransaction.cs
- Menu.cs
- ToolStripMenuItem.cs
- Figure.cs
- ParserStack.cs
- TextRangeBase.cs
- DbProviderConfigurationHandler.cs
- ControlFilterExpression.cs
- BooleanAnimationBase.cs
- ParameterModifier.cs
- DecimalFormatter.cs
- DbSourceParameterCollection.cs
- CorrelationTokenInvalidatedHandler.cs
- MaskedTextBox.cs
- SqlInternalConnection.cs
- StorageMappingFragment.cs
- DataGridTableCollection.cs
- GridView.cs
- Publisher.cs
- OnOperation.cs
- AttributeQuery.cs
- DirectionalLight.cs
- ToolStripPanelRenderEventArgs.cs
- SqlTrackingService.cs
- SizeValueSerializer.cs
- ResolveNameEventArgs.cs
- BasicKeyConstraint.cs
- ToolStripItemCollection.cs
- AcceptorSessionSymmetricMessageSecurityProtocol.cs
- URL.cs
- OpenFileDialog.cs
- DataSourceControlBuilder.cs
- ConfigXmlWhitespace.cs
- DynamicPropertyHolder.cs
- OdbcCommand.cs
- DBPropSet.cs
- XhtmlConformanceSection.cs
- InstanceCompleteException.cs
- Vector3DAnimation.cs
- NumberFormatInfo.cs
- Figure.cs
- LocatorBase.cs
- PointLight.cs
- SchemaManager.cs
- CodeCommentStatement.cs
- Matrix.cs
- WebPartDisplayModeEventArgs.cs
- URLMembershipCondition.cs
- OdbcReferenceCollection.cs
- EpmContentSerializerBase.cs
- XPathArrayIterator.cs
- ExpressionHelper.cs
- DesignerAutoFormat.cs
- SmiContext.cs
- ADMembershipUser.cs
- Constant.cs
- HelloOperationCD1AsyncResult.cs
- altserialization.cs
- OleDbMetaDataFactory.cs
- Overlapped.cs
- OdbcFactory.cs
- XmlCharType.cs
- SystemUdpStatistics.cs
- odbcmetadatafactory.cs
- _FtpDataStream.cs
- ByteStream.cs
- SystemIcmpV4Statistics.cs
- InputMethodStateChangeEventArgs.cs
- LabelEditEvent.cs
- QueryExpression.cs
- SQLBytesStorage.cs
- ValuePatternIdentifiers.cs
- Console.cs
- XmlSchemaIdentityConstraint.cs
- DataFormat.cs
- DefaultPropertyAttribute.cs
- SafeBitVector32.cs