using System; using System.ComponentModel; namespace DevComponents.Tree { /// /// Represents the table header. /// public class HeaderDefinition { private string m_Name=""; private ColumnHeaderCollection m_Columns=new ColumnHeaderCollection(); /// /// Default constructor. /// public HeaderDefinition() { } /// /// Gets the reference to the collection that contains the columns associated with header. /// [Browsable(true),Category("Columns"),Description("Gets the reference to the collection that contains the columns associated with header."),DesignerSerializationVisibility(DesignerSerializationVisibility.Content)] public ColumnHeaderCollection Columns { get {return m_Columns;} } /// /// Gets or sets the name associated with this header definition. /// [Browsable(true),Category("Design"),Description("Indicates name associated with this header definition."),DefaultValue("")] public string Name { get {return m_Name;} set {m_Name=value;} } } }