ExpandCollapsePatternIdentifiers.cs source code in C# .NET

Source code for the .NET framework in C#

                        

Code:

/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / Orcas / SP / wpf / src / UIAutomation / UIAutomationTypes / System / Windows / Automation / ExpandCollapsePatternIdentifiers.cs / 1 / ExpandCollapsePatternIdentifiers.cs

                            //---------------------------------------------------------------------------- 
//
// 
//    Copyright (C) Microsoft Corporation.  All rights reserved.
//  
//
// 
// Description: Automation Identifiers for ExpandCollapse Pattern 
//
// History: 
//  04/15/2005 : MKarr Added
//
//---------------------------------------------------------------------------
 
using System;
using MS.Internal.Automation; 
using System.Runtime.InteropServices; 

namespace System.Windows.Automation 
{

    /// 
    /// Used by ExpandCollapse pattern to indicate expanded/collapsed state 
    /// 
    [ComVisible(true)] 
    [Guid("76d12d7e-b227-4417-9ce2-42642ffa896a")] 
#if (NO_INTERNAL_COMPILE_BUG1080665)
    internal enum ExpandCollapseState 
#else
    public enum ExpandCollapseState
#endif
    { 
        /// No children are showing
        Collapsed, 
        /// All children are showing 
        Expanded,
        /// Not all children are showing 
        PartiallyExpanded,
        /// Does not expand or collapse
        LeafNode
    } 

 
    ///wrapper class for ExpandCollapse pattern  
#if (INTERNAL_COMPILE)
    internal static class ExpandCollapsePatternIdentifiers 
#else
    public static class ExpandCollapsePatternIdentifiers
#endif
    { 
        //-----------------------------------------------------
        // 
        //  Public Constants / Readonly Fields 
        //
        //----------------------------------------------------- 

        #region Public Constants and Readonly Fields

        /// Scroll pattern 
        public static readonly AutomationPattern Pattern = AutomationPattern.Register(AutomationIdentifierGuids.ExpandCollapse_Pattern, "ExpandCollapsePatternIdentifiers.Pattern");
 
        /// Property ID: ExpandCollapseState - Current Collapsed or Expanded state 
        public static readonly AutomationProperty ExpandCollapseStateProperty = AutomationProperty.Register(AutomationIdentifierGuids.ExpandCollapse_State_Property, "ExpandCollapsePatternIdentifiers.ExpandCollapseStateProperty");
 
        #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 ExpandCollapse Pattern 
//
// History: 
//  04/15/2005 : MKarr Added
//
//---------------------------------------------------------------------------
 
using System;
using MS.Internal.Automation; 
using System.Runtime.InteropServices; 

namespace System.Windows.Automation 
{

    /// 
    /// Used by ExpandCollapse pattern to indicate expanded/collapsed state 
    /// 
    [ComVisible(true)] 
    [Guid("76d12d7e-b227-4417-9ce2-42642ffa896a")] 
#if (NO_INTERNAL_COMPILE_BUG1080665)
    internal enum ExpandCollapseState 
#else
    public enum ExpandCollapseState
#endif
    { 
        /// No children are showing
        Collapsed, 
        /// All children are showing 
        Expanded,
        /// Not all children are showing 
        PartiallyExpanded,
        /// Does not expand or collapse
        LeafNode
    } 

 
    ///wrapper class for ExpandCollapse pattern  
#if (INTERNAL_COMPILE)
    internal static class ExpandCollapsePatternIdentifiers 
#else
    public static class ExpandCollapsePatternIdentifiers
#endif
    { 
        //-----------------------------------------------------
        // 
        //  Public Constants / Readonly Fields 
        //
        //----------------------------------------------------- 

        #region Public Constants and Readonly Fields

        /// Scroll pattern 
        public static readonly AutomationPattern Pattern = AutomationPattern.Register(AutomationIdentifierGuids.ExpandCollapse_Pattern, "ExpandCollapsePatternIdentifiers.Pattern");
 
        /// Property ID: ExpandCollapseState - Current Collapsed or Expanded state 
        public static readonly AutomationProperty ExpandCollapseStateProperty = AutomationProperty.Register(AutomationIdentifierGuids.ExpandCollapse_State_Property, "ExpandCollapsePatternIdentifiers.ExpandCollapseStateProperty");
 
        #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