ValuePatternIdentifiers.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 / ValuePatternIdentifiers.cs / 1 / ValuePatternIdentifiers.cs

                            //---------------------------------------------------------------------------- 
//
// 
//    Copyright (C) Microsoft Corporation.  All rights reserved.
//  
//
// 
// Description: Automation Identifiers for Value Pattern 
//
// History: 
//  04/15/2005 : MKarr Added
//
//---------------------------------------------------------------------------
 
using System;
using MS.Internal.Automation; 
 
namespace System.Windows.Automation
{ 
    /// 
    /// Represents UI elements that are expressing a value
    /// 
#if (INTERNAL_COMPILE) 
    internal static class ValuePatternIdentifiers
#else 
    public static class ValuePatternIdentifiers 
#endif
    { 
        //-----------------------------------------------------
        //
        //  Public Constants / Readonly Fields
        // 
        //-----------------------------------------------------
 
        #region Public Constants and Readonly Fields 

        /// Value pattern 
        public static readonly AutomationPattern Pattern = AutomationPattern.Register(AutomationIdentifierGuids.Value_Pattern, "ValuePatternIdentifiers.Pattern");

        /// Property ID: Value - Value of a value control, as a human-readable string
        public static readonly AutomationProperty ValueProperty = AutomationProperty.Register(AutomationIdentifierGuids.Value_Property, "ValuePatternIdentifiers.ValueProperty"); 

        /// Property ID: IsReadOnly - Indicates that the value can only be read, not modified. 
        public static readonly AutomationProperty IsReadOnlyProperty = AutomationProperty.Register(AutomationIdentifierGuids.Value_IsReadOnly_Property, "ValuePatternIdentifiers.IsReadOnlyProperty"); 

        #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 Value Pattern 
//
// History: 
//  04/15/2005 : MKarr Added
//
//---------------------------------------------------------------------------
 
using System;
using MS.Internal.Automation; 
 
namespace System.Windows.Automation
{ 
    /// 
    /// Represents UI elements that are expressing a value
    /// 
#if (INTERNAL_COMPILE) 
    internal static class ValuePatternIdentifiers
#else 
    public static class ValuePatternIdentifiers 
#endif
    { 
        //-----------------------------------------------------
        //
        //  Public Constants / Readonly Fields
        // 
        //-----------------------------------------------------
 
        #region Public Constants and Readonly Fields 

        /// Value pattern 
        public static readonly AutomationPattern Pattern = AutomationPattern.Register(AutomationIdentifierGuids.Value_Pattern, "ValuePatternIdentifiers.Pattern");

        /// Property ID: Value - Value of a value control, as a human-readable string
        public static readonly AutomationProperty ValueProperty = AutomationProperty.Register(AutomationIdentifierGuids.Value_Property, "ValuePatternIdentifiers.ValueProperty"); 

        /// Property ID: IsReadOnly - Indicates that the value can only be read, not modified. 
        public static readonly AutomationProperty IsReadOnlyProperty = AutomationProperty.Register(AutomationIdentifierGuids.Value_IsReadOnly_Property, "ValuePatternIdentifiers.IsReadOnlyProperty"); 

        #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