InheritablePropertyChangeInfo.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 / wcp / Framework / System / Windows / InheritablePropertyChangeInfo.cs / 1 / InheritablePropertyChangeInfo.cs

                            //---------------------------------------------------------------------------- 
//
// File: InheritablePropertyChangeInfo.cs
//
// Description: 
//   This data-structure is used
//   1. As the data that is passed around by the DescendentsWalker 
//      during an inheritable property change tree-walk. 
//
// Copyright (C) by Microsoft Corporation.  All rights reserved. 
//
//---------------------------------------------------------------------------

using System; 

namespace System.Windows 
{ 
    /// 
    ///     This is the data that is passed through the DescendentsWalker 
    ///     during an inheritable property change tree-walk.
    /// 
    internal struct InheritablePropertyChangeInfo
    { 
        #region Constructors
 
        internal InheritablePropertyChangeInfo( 
            DependencyProperty  property,
            EffectiveValueEntry oldEntry, 
            EffectiveValueEntry newEntry)
        {
            _property = property;
            _oldEntry = oldEntry; 
            _newEntry = newEntry;
        } 
 
        #endregion Constructors
 
        #region Properties

        internal DependencyProperty Property
        { 
            get { return _property; }
        } 
 
        internal EffectiveValueEntry OldEntry
        { 
            get { return _oldEntry; }
        }

        internal EffectiveValueEntry NewEntry 
        {
            get { return _newEntry; } 
        } 

        #endregion Properties 

        #region Data

        private DependencyProperty  _property; 
        private EffectiveValueEntry _oldEntry;
        private EffectiveValueEntry _newEntry; 
 
        #endregion Data
    } 
}


// 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