DockPatternIdentifiers.cs source code in C# .NET

Source code for the .NET framework in C#

                        

Code:

/ Dotnetfx_Win7_3.5.1 / Dotnetfx_Win7_3.5.1 / 3.5.1 / DEVDIV / depot / DevDiv / releases / Orcas / NetFXw7 / wpf / src / UIAutomation / UIAutomationTypes / System / Windows / Automation / DockPatternIdentifiers.cs / 1 / DockPatternIdentifiers.cs

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

namespace System.Windows.Automation 
{

    /// 
    /// The edge of the container that the dockable window will cling to. 
    /// 
    [ComVisible(true)] 
    [Guid("70d46e77-e3a8-449d-913c-e30eb2afecdb")] 
#if (NO_INTERNAL_COMPILE_BUG1080665)
    internal enum DockPosition 
#else
    public enum DockPosition
#endif
    { 
        /// Docked at the top
        Top, 
        /// Docked at the left 
        Left,
        /// Docked at the bottom 
        Bottom,
        /// Docked at the right
        Right,
        /// Docked on all four sides 
        Fill,
        /// Not docked 
        None 
    }
 
    /// 
    /// Expose an element's ability to change its dock state at run time.
    /// 
#if (INTERNAL_COMPILE) 
    internal static class DockPatternIdentifiers
#else 
    public static class DockPatternIdentifiers 
#endif
    { 
        //-----------------------------------------------------
        //
        //  Public Constants / Readonly Fields
        // 
        //-----------------------------------------------------
 
        #region Public Constants and Readonly Fields 

        /// Dock pattern 
        public static readonly AutomationPattern Pattern = AutomationPattern.Register(AutomationIdentifierGuids.Dock_Pattern, "DockPatternIdentifiers.Pattern");

        /// Property ID: DockPosition - Is the DockPosition Top, Left, Bottom, Right, Fill, or None
        public static readonly AutomationProperty DockPositionProperty = AutomationProperty.Register(AutomationIdentifierGuids.Dock_Position_Property, "DockPatternIdentifiers.DockPositionProperty"); 

        #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 Dock Pattern 
//
// History: 
//  04/15/2005 : MKarr Added
//
//---------------------------------------------------------------------------
 
using System;
using MS.Internal.Automation; 
using System.Runtime.InteropServices; 

namespace System.Windows.Automation 
{

    /// 
    /// The edge of the container that the dockable window will cling to. 
    /// 
    [ComVisible(true)] 
    [Guid("70d46e77-e3a8-449d-913c-e30eb2afecdb")] 
#if (NO_INTERNAL_COMPILE_BUG1080665)
    internal enum DockPosition 
#else
    public enum DockPosition
#endif
    { 
        /// Docked at the top
        Top, 
        /// Docked at the left 
        Left,
        /// Docked at the bottom 
        Bottom,
        /// Docked at the right
        Right,
        /// Docked on all four sides 
        Fill,
        /// Not docked 
        None 
    }
 
    /// 
    /// Expose an element's ability to change its dock state at run time.
    /// 
#if (INTERNAL_COMPILE) 
    internal static class DockPatternIdentifiers
#else 
    public static class DockPatternIdentifiers 
#endif
    { 
        //-----------------------------------------------------
        //
        //  Public Constants / Readonly Fields
        // 
        //-----------------------------------------------------
 
        #region Public Constants and Readonly Fields 

        /// Dock pattern 
        public static readonly AutomationPattern Pattern = AutomationPattern.Register(AutomationIdentifierGuids.Dock_Pattern, "DockPatternIdentifiers.Pattern");

        /// Property ID: DockPosition - Is the DockPosition Top, Left, Bottom, Right, Fill, or None
        public static readonly AutomationProperty DockPositionProperty = AutomationProperty.Register(AutomationIdentifierGuids.Dock_Position_Property, "DockPatternIdentifiers.DockPositionProperty"); 

        #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