'Declaration <ToolboxItemAttribute(False)> <DesignerAttribute(Xceed.Chart.UIControls.BandDesigner)> <DesignerCategoryAttribute("UserControl")> <DefaultEventAttribute("Load")> <DefaultPropertyAttribute("Text")> <DesignerSerializerAttribute("System.Windows.Forms.Design.ControlCodeDomSerializer, System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", "System.ComponentModel.Design.Serialization.CodeDomSerializer, System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")> <ToolboxItemFilterAttribute("System.Windows.Forms")> Public Class Band Inherits System.Windows.Forms.UserControl
'Usage Dim instance As Band
[ToolboxItem(false)] [Designer(Xceed.Chart.UIControls.BandDesigner)] [DesignerCategory("UserControl")] [DefaultEvent("Load")] [DefaultProperty("Text")] [DesignerSerializer("System.Windows.Forms.Design.ControlCodeDomSerializer, System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a", "System.ComponentModel.Design.Serialization.CodeDomSerializer, System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")] [ToolboxItemFilter("System.Windows.Forms")] public class Band : System.Windows.Forms.UserControl
' create the band Dim band As Band = New Band() ' create a label Dim testLabel As Label = New Label() testLabel.Dock = DockStyle.Top testLabel.Text = "This is test label" ' add the label to the band band.Controls.Add(testLabel) ' assume that we have an existing PanelBar object named nPanelBar1 nPaneBar1.Bands.Add(band)
// create the band Band band = new Band(); // create a label Label testLabel = new Label(); testLabel.Dock = DockStyle.Top; testLabel.Text = "This is test label"; // add the label to the band band.Controls.Add(testLabel); // assume that we have an existing PanelBar object named nPanelBar1 nPaneBar1.Bands.Add(band);
System.Object
   System.MarshalByRefObject
      System.ComponentModel.Component
         System.Windows.Forms.Control
            System.Windows.Forms.ScrollableControl
               System.Windows.Forms.ContainerControl
                  System.Windows.Forms.UserControl
                     Xceed.Chart.UIControls.Band
| Name | Description | |
|---|---|---|
![]()  | Band Constructor | Creates a new instance of this class | 
Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2