TableLayoutRowStyleCollection.cs source code in C# .NET

Source code for the .NET framework in C#

                        

Code:

/ Net / Net / 3.5.50727.3053 / DEVDIV / depot / DevDiv / releases / whidbey / netfxsp / ndp / fx / src / WinForms / Managed / System / WinForms / TableLayoutRowStyleCollection.cs / 1 / TableLayoutRowStyleCollection.cs

                            //------------------------------------------------------------------------------ 
// 
//     Copyright (c) Microsoft Corporation.  All rights reserved.
// 
//----------------------------------------------------------------------------- 

namespace System.Windows.Forms { 
    using System; 
    using System.Collections;
    using System.ComponentModel; 
    using System.ComponentModel.Design.Serialization;
    using System.Diagnostics;
    using System.Drawing;
    using System.Drawing.Design; 
    using System.Globalization;
    using System.Windows.Forms.Layout; 
    using System.Reflection; 

    ///  
    public class TableLayoutRowStyleCollection : TableLayoutStyleCollection {

        internal TableLayoutRowStyleCollection(IArrangedElement Owner) : base(Owner) {}
        internal TableLayoutRowStyleCollection() : base(null) {} 

        internal override string PropertyName { 
            get { return PropertyNames.RowStyles; } 
        }
 
        /// 
        public int Add(RowStyle rowStyle) { return ((IList)this).Add(rowStyle); }

        ///  
        public void Insert(int index, RowStyle rowStyle) { ((IList)this).Insert(index, rowStyle); }
 
        ///  
        public new RowStyle this[int index] {
            get { return (RowStyle)((IList)this)[index]; } 
            set { ((IList)this)[index] = value; }
        }

        ///  
        public void Remove(RowStyle rowStyle) { ((IList)this).Remove(rowStyle); }
 
        ///  
        public bool Contains(RowStyle rowStyle) { return ((IList)this).Contains(rowStyle); }
 
        /// 
        public int IndexOf(RowStyle rowStyle) { return ((IList)this).IndexOf(rowStyle); }
    }
} 


// File provided for Reference Use Only by Microsoft Corporation (c) 2007.
//------------------------------------------------------------------------------ 
// 
//     Copyright (c) Microsoft Corporation.  All rights reserved.
// 
//----------------------------------------------------------------------------- 

namespace System.Windows.Forms { 
    using System; 
    using System.Collections;
    using System.ComponentModel; 
    using System.ComponentModel.Design.Serialization;
    using System.Diagnostics;
    using System.Drawing;
    using System.Drawing.Design; 
    using System.Globalization;
    using System.Windows.Forms.Layout; 
    using System.Reflection; 

    ///  
    public class TableLayoutRowStyleCollection : TableLayoutStyleCollection {

        internal TableLayoutRowStyleCollection(IArrangedElement Owner) : base(Owner) {}
        internal TableLayoutRowStyleCollection() : base(null) {} 

        internal override string PropertyName { 
            get { return PropertyNames.RowStyles; } 
        }
 
        /// 
        public int Add(RowStyle rowStyle) { return ((IList)this).Add(rowStyle); }

        ///  
        public void Insert(int index, RowStyle rowStyle) { ((IList)this).Insert(index, rowStyle); }
 
        ///  
        public new RowStyle this[int index] {
            get { return (RowStyle)((IList)this)[index]; } 
            set { ((IList)this)[index] = value; }
        }

        ///  
        public void Remove(RowStyle rowStyle) { ((IList)this).Remove(rowStyle); }
 
        ///  
        public bool Contains(RowStyle rowStyle) { return ((IList)this).Contains(rowStyle); }
 
        /// 
        public int IndexOf(RowStyle rowStyle) { return ((IList)this).IndexOf(rowStyle); }
    }
} 


// File provided for Reference Use Only by Microsoft Corporation (c) 2007.

                        

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