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
- LocalizableAttribute.cs
- NodeCounter.cs
- MappingSource.cs
- ProcessInfo.cs
- JournalNavigationScope.cs
- SerializationInfo.cs
- UriTemplateClientFormatter.cs
- TimeManager.cs
- ToolTip.cs
- X509Certificate2.cs
- ProjectionPathBuilder.cs
- HttpRequestCacheValidator.cs
- NavigateEvent.cs
- DataControlReferenceCollection.cs
- ErrorRuntimeConfig.cs
- _NativeSSPI.cs
- ReadOnlyPropertyMetadata.cs
- DrawingServices.cs
- Propagator.cs
- PropertyBuilder.cs
- InstanceKeyCompleteException.cs
- CellIdBoolean.cs
- OracleException.cs
- MenuItemCollection.cs
- DataGridLinkButton.cs
- SecurityPolicyVersion.cs
- MultiAsyncResult.cs
- ListControlDesigner.cs
- WinEventWrap.cs
- MetadataItemEmitter.cs
- AssemblyAttributes.cs
- BeginEvent.cs
- Help.cs
- BitmapEffectDrawingContent.cs
- StrokeCollectionConverter.cs
- SimpleWebHandlerParser.cs
- TransformPattern.cs
- DisplayInformation.cs
- VariableQuery.cs
- AddressAlreadyInUseException.cs
- DocumentXmlWriter.cs
- ClientProxyGenerator.cs
- HierarchicalDataTemplate.cs
- TranslateTransform.cs
- ControlPropertyNameConverter.cs
- UpdateManifestForBrowserApplication.cs
- DataReceivedEventArgs.cs
- DataSysAttribute.cs
- GenerateScriptTypeAttribute.cs
- CodeMethodInvokeExpression.cs
- LayoutTable.cs
- Visual.cs
- TypeListConverter.cs
- AsymmetricKeyExchangeDeformatter.cs
- SmtpReplyReaderFactory.cs
- COAUTHINFO.cs
- RedirectionProxy.cs
- ReadOnlyActivityGlyph.cs
- Trigger.cs
- TypeReference.cs
- NavigationCommands.cs
- ButtonBaseDesigner.cs
- DataControlCommands.cs
- TextElement.cs
- CollectionsUtil.cs
- smtppermission.cs
- KeyEventArgs.cs
- FixedSOMLineRanges.cs
- TraceHwndHost.cs
- SqlXmlStorage.cs
- ContactManager.cs
- PointF.cs
- RubberbandSelector.cs
- Storyboard.cs
- ListViewInsertionMark.cs
- TypefaceMetricsCache.cs
- DBConnection.cs
- CharacterHit.cs
- ListViewGroupConverter.cs
- AssemblyCollection.cs
- Geometry3D.cs
- TreePrinter.cs
- ViewGenResults.cs
- OneOf.cs
- FlowLayoutSettings.cs
- WsatTransactionHeader.cs
- HttpValueCollection.cs
- SecurityRuntime.cs
- ManualResetEvent.cs
- MessageSecurityOverHttp.cs
- Vector3DCollectionValueSerializer.cs
- CssTextWriter.cs
- FixUp.cs
- NativeStructs.cs
- ImageMetadata.cs
- CompositeFontInfo.cs
- StrokeCollection.cs
- UriTemplateClientFormatter.cs
- ToolStripDropDownItem.cs
- HwndSource.cs