RowVisual.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 / Framework / MS / Internal / PtsHost / RowVisual.cs / 1305600 / 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.
                        

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