RowVisual.cs source code in C# .NET

Source code for the .NET framework in C#

                        

Code:

/ Dotnetfx_Vista_SP2 / Dotnetfx_Vista_SP2 / 8.0.50727.4016 / DEVDIV / depot / DevDiv / releases / Orcas / QFE / wpf / src / Framework / MS / Internal / PtsHost / RowVisual.cs / 1 / RowVisual.cs

                            //---------------------------------------------------------------------------- 
//
// 
//    Copyright (C) Microsoft Corporation.  All rights reserved.
//  
//
// 
// Description: Row visual is used to group cell visuals of cells 
//              belonging to the row.
//              The only reason for RowVisual existence is keeping 
//              a reference to the associated row object.
//
//
// History: 
//  10/20/2003 : olego - Created
// 
//--------------------------------------------------------------------------- 

using System; 
using System.Diagnostics;
using System.Windows.Threading;
using System.Windows;
using System.Windows.Documents; 
using System.Windows.Media;
 
namespace MS.Internal.PtsHost 
{
    ///  
    /// RowVisual.
    /// 
    internal sealed class RowVisual : ContainerVisual
    { 
        //-----------------------------------------------------
        // 
        //  Constructors 
        //
        //----------------------------------------------------- 

        #region Constructors

        ///  
        /// Default constructor
        ///  
        /// Row associated with this visual. 
        internal RowVisual(TableRow row)
        { 
            _row = row;
        }

        #endregion Constructors 

        //------------------------------------------------------ 
        // 
        //  Internal Properties
        // 
        //-----------------------------------------------------

        #region Internal Properties
 
        /// 
        /// Row. 
        ///  
        internal TableRow Row
        { 
            get { return (_row); }
        }

        #endregion Internal Properties 

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

        #region Private Fields
        private readonly TableRow _row; 
        #endregion Private 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: Row visual is used to group cell visuals of cells 
//              belonging to the row.
//              The only reason for RowVisual existence is keeping 
//              a reference to the associated row object.
//
//
// History: 
//  10/20/2003 : olego - Created
// 
//--------------------------------------------------------------------------- 

using System; 
using System.Diagnostics;
using System.Windows.Threading;
using System.Windows;
using System.Windows.Documents; 
using System.Windows.Media;
 
namespace MS.Internal.PtsHost 
{
    ///  
    /// RowVisual.
    /// 
    internal sealed class RowVisual : ContainerVisual
    { 
        //-----------------------------------------------------
        // 
        //  Constructors 
        //
        //----------------------------------------------------- 

        #region Constructors

        ///  
        /// Default constructor
        ///  
        /// Row associated with this visual. 
        internal RowVisual(TableRow row)
        { 
            _row = row;
        }

        #endregion Constructors 

        //------------------------------------------------------ 
        // 
        //  Internal Properties
        // 
        //-----------------------------------------------------

        #region Internal Properties
 
        /// 
        /// Row. 
        ///  
        internal TableRow Row
        { 
            get { return (_row); }
        }

        #endregion Internal Properties 

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

        #region Private Fields
        private readonly TableRow _row; 
        #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