SelectionPatternIdentifiers.cs source code in C# .NET

Source code for the .NET framework in C#

                        

Code:

/ DotNET / DotNET / 8.0 / untmp / WIN_WINDOWS / lh_tools_devdiv_wpf / Windows / AccessibleTech / longhorn / Automation / 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 : [....] 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

Network programming in C#, Network Programming in VB.NET, Network Programming in .NET
This book is available now!
Buy at Amazon US or
Buy at Amazon UK