Nevron .NET Vision
NBand Class
Members  Example 

Represents a band in a NPanelBar object. The band is actually a panel, which can be collapsed or expanded. When the band is collapsed only its caption is visible.
Object Model
NBand Class
<System.ComponentModel.ToolboxItemAttribute(ToolboxItemType=, ToolboxItemTypeName="")>
<System.ComponentModel.DesignerAttribute(DesignerBaseTypeName="System.ComponentModel.Design.IDesigner", DesignerTypeName="Nevron.Internal.msnb, Nevron.Presentation, Version=, Culture=neutral, PublicKeyToken=6656c5d1103e75cc")>
Public Class NBand 
   Inherits System.Windows.Forms.UserControl
   Implements INImageListProvider 
[System.ComponentModel.ToolboxItem(ToolboxItemType=, ToolboxItemTypeName="")]
[System.ComponentModel.Designer(DesignerBaseTypeName="System.ComponentModel.Design.IDesigner", DesignerTypeName="Nevron.Internal.msnb, Nevron.Presentation, Version=, Culture=neutral, PublicKeyToken=6656c5d1103e75cc")]
public class NBand : System.Windows.Forms.UserControl, INImageListProvider  
You can use the Controls property to add controls to a band.
The following example demonstrates how to add controls to a NBand object and add that band to a NPanelBar object:
' create the band
Dim band As NBand =  New NBand() 
' 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
' assume that we have an existing NPanelBar object named nPanelBar1
// create the band
NBand band = new NBand();
// create a label
Label testLabel = new Label();
testLabel.Dock = DockStyle.Top;
testLabel.Text = "This is test label";
// add the label to the band
// assume that we have an existing NPanelBar object named nPanelBar1
Inheritance Hierarchy



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

See Also


NBand Members
Nevron.UI.WinForm.Controls Namespace



©2021. Nevron Software LLC.

Send Feedback