Nevron .NET Vision
NPanelBar Class
Members  Example 

Represents a panel bar, which contains one or more NBand objects.
Object Model
NPanelBar Class
<System.ComponentModel.DesignerAttribute(DesignerBaseTypeName="System.ComponentModel.Design.IDesigner", DesignerTypeName="Nevron.Internal.vvnb, Nevron.Presentation, Version=, Culture=neutral, PublicKeyToken=6656c5d1103e75cc")>
Public Class NPanelBar 
   Inherits System.Windows.Forms.UserControl
   Implements INControlBorderProvider, INImageListProvider, INPaletteProvider, INRendererProvider 
[System.ComponentModel.Designer(DesignerBaseTypeName="System.ComponentModel.Design.IDesigner", DesignerTypeName="Nevron.Internal.vvnb, Nevron.Presentation, Version=, Culture=neutral, PublicKeyToken=6656c5d1103e75cc")]
public class NPanelBar : System.Windows.Forms.UserControl, INControlBorderProvider, INImageListProvider, INPaletteProvider, INRendererProvider  
Each NPanelBar instance holds a collection of NBand objects. You can gain access to this collection with the help of the Bands property. You can specify a border type for the panel bar with the Border property.
The following example creates a new panel bar with a single band and customizes its most important properties:
' create the panel bar and dock it on the left of the form 
Dim panelbar As NPanelBar =  New NPanelBar() 
panelbar.Dock = DockStyle.Left
' customize it
panelbar.Caption = "My Panel Bar"
panelbar.CaptionBackColor = SystemColors.ControlDark
panelbar.BorderStyle = Border.Flat
' create a simple band
Dim band As NBand =  New NBand() 
band.Caption = "My Band"
// create the panel bar and dock it on the left of the form 
NPanelBar panelbar = new NPanelBar();
panelbar.Dock = DockStyle.Left;
// customize it
panelbar.Caption = "My Panel Bar";
panelbar.CaptionBackColor = SystemColors.ControlDark;
panelbar.BorderStyle = Border.Flat;
// create a simple band
NBand band = new NBand();
band.Caption = "My Band";
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


NPanelBar Members
Nevron.UI.WinForm.Controls Namespace



©2021. Nevron Software LLC.

Send Feedback