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
- TransformFinalBlockRequest.cs
- ValuePatternIdentifiers.cs
- CroppedBitmap.cs
- ContainerControl.cs
- ListCollectionView.cs
- EntityDataSourceValidationException.cs
- StringBuilder.cs
- PackWebRequestFactory.cs
- RenderOptions.cs
- AppDomain.cs
- EntityDataSourceQueryBuilder.cs
- httpapplicationstate.cs
- XmlWriterTraceListener.cs
- PagedControl.cs
- ImportOptions.cs
- DbInsertCommandTree.cs
- TrustLevelCollection.cs
- JavaScriptObjectDeserializer.cs
- SourceSwitch.cs
- EdmValidator.cs
- CodeSnippetTypeMember.cs
- KeyMatchBuilder.cs
- RightsManagementInformation.cs
- OleDbDataAdapter.cs
- NavigationExpr.cs
- DataControlImageButton.cs
- OdbcConnectionOpen.cs
- ConfigUtil.cs
- CollectionContainer.cs
- DBConnection.cs
- Effect.cs
- XmlToDatasetMap.cs
- UrlPropertyAttribute.cs
- Win32MouseDevice.cs
- RestHandler.cs
- DataColumnChangeEvent.cs
- Choices.cs
- DialogResultConverter.cs
- DynamicField.cs
- PresentationTraceSources.cs
- counter.cs
- IPEndPoint.cs
- ImmutableAssemblyCacheEntry.cs
- nulltextcontainer.cs
- TabItemAutomationPeer.cs
- TypedReference.cs
- ClonableStack.cs
- ISO2022Encoding.cs
- ConsoleEntryPoint.cs
- OLEDB_Util.cs
- ValueTable.cs
- FileUtil.cs
- SharedStatics.cs
- ExtendedPropertyCollection.cs
- PropertyChangedEventManager.cs
- OleAutBinder.cs
- ActivityTypeDesigner.xaml.cs
- SafeNativeMemoryHandle.cs
- XamlDesignerSerializationManager.cs
- SetterBase.cs
- TcpClientChannel.cs
- FormViewModeEventArgs.cs
- GroupItem.cs
- HashAlgorithm.cs
- LicenseContext.cs
- UrlParameterReader.cs
- COM2ColorConverter.cs
- OdbcPermission.cs
- MDIControlStrip.cs
- Types.cs
- InternalTransaction.cs
- WeakRefEnumerator.cs
- MultiPageTextView.cs
- HandlerFactoryWrapper.cs
- DocumentsTrace.cs
- XmlSchemaAnnotated.cs
- LogExtent.cs
- Ops.cs
- LongTypeConverter.cs
- CLSCompliantAttribute.cs
- Console.cs
- TemplatedControlDesigner.cs
- ResourceDefaultValueAttribute.cs
- GiveFeedbackEventArgs.cs
- ConfigurationManagerInternalFactory.cs
- TransformProviderWrapper.cs
- HtmlFormWrapper.cs
- SchemaConstraints.cs
- FileRecordSequenceCompletedAsyncResult.cs
- EncoderFallback.cs
- ContextMenuService.cs
- XomlCompilerResults.cs
- PropertyBuilder.cs
- Publisher.cs
- HandlerElementCollection.cs
- CultureTableRecord.cs
- DataControlFieldTypeEditor.cs
- TransformationRules.cs
- PropertyGrid.cs
- UniformGrid.cs