TableLayoutColumnStyleCollection.cs source code in C# .NET

Source code for the .NET framework in C#

                        

Code:

/ FX-1434 / FX-1434 / 1.0 / untmp / whidbey / REDBITS / ndp / fx / src / WinForms / Managed / System / WinForms / TableLayoutColumnStyleCollection.cs / 1 / TableLayoutColumnStyleCollection.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 TableLayoutColumnStyleCollection : TableLayoutStyleCollection { 


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

        internal override string PropertyName { 
            get { return PropertyNames.ColumnStyles; } 
        }
 
        /// 
        public int Add(ColumnStyle columnStyle) { return ((IList)this).Add(columnStyle); }

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

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


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