AutomationPropertyInfo.cs source code in C# .NET

Source code for the .NET framework in C#

                        

Code:

/ 4.0 / 4.0 / untmp / DEVDIV_TFS / Dev10 / Releases / RTMRel / wpf / src / Core / CSharp / MS / Internal / Automation / AutomationPropertyInfo.cs / 1305600 / AutomationPropertyInfo.cs

                            //---------------------------------------------------------------------------- 
//
// 
//    Copyright (C) Microsoft Corporation.  All rights reserved.
//  
//
// 
// Description: class containing information about an automation property 
//
// History: 
//  06/04/2003 : BrendanM Ported to WCP
//
//---------------------------------------------------------------------------
 
using System;
using System.Windows; 
using System.Windows.Automation; 

namespace MS.Internal.Automation 
{
    // class containing information about an automation property
    internal class AutomationPropertyInfo
    { 
        //-----------------------------------------------------
        // 
        //  Constructors 
        //
        //----------------------------------------------------- 

        #region Constructors

        internal AutomationPropertyInfo( 
            AutomationProperty id,
            DependencyProperty dependencyProperty, 
            DependencyProperty overrideDP 
            )
        { 
            _id = id;
            _dependencyProperty = dependencyProperty;
            _overrideDP = overrideDP;
        } 

        #endregion Constructors 
 
        //------------------------------------------------------
        // 
        //  Internal Properties
        //
        //-----------------------------------------------------
 
        #region Internal Properties
 
        internal AutomationProperty         ID                  { get { return _id; } } 
        internal DependencyProperty         DependencyProperty  { get { return _dependencyProperty; } }
        internal DependencyProperty         OverrideDP          { get { return _overrideDP; } } 

        #endregion Internal Properties

 
        //------------------------------------------------------
        // 
        //  Private Fields 
        //
        //------------------------------------------------------ 

        #region Private Fields

        private AutomationProperty _id; 
        private DependencyProperty _dependencyProperty;
        private DependencyProperty _overrideDP; 
 
        #endregion Private 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