C# Class SIL.FieldWorks.Common.Controls.SimpleExplorerBar

Encapsulates a simple explorer bar-like control.
Inheritance: FwPanel
Afficher le fichier Open project: sillsdev/FieldWorks Class Usage Examples

Méthodes publiques

Méthode Description
Add ( string text, Control control ) : ExplorerBarItem

Adds an ExplorerBarItem with the specified text and hosting the specified control.

Add ( ExplorerBarItem item ) : void

Adds the specified item to the item collection.

HandleItemExpandingOrCollapsing ( object sender, EventArgs e ) : void

Handles an item expanding or collapsing.

Remove ( ExplorerBarItem item ) : void

Removes the specified item from the collection of items.

Remove ( int index ) : void

Removes from the item collection the item at the specified index.

SimpleExplorerBar ( ) : System

Constructs a SimpleExplorerBar object.

item_SizeChanged ( object sender, EventArgs e ) : void

Handles the SizeChanged event for the ExplorerBarItems.

Private Methods

Méthode Description
ManageVScrollBar ( ) : void

Manages the visibility and enabled state of the vertical scroll bar.

Method Details

Add() public méthode

Adds an ExplorerBarItem with the specified text and hosting the specified control.
public Add ( string text, Control control ) : ExplorerBarItem
text string
control System.Windows.Forms.Control
Résultat ExplorerBarItem

Add() public méthode

Adds the specified item to the item collection.
public Add ( ExplorerBarItem item ) : void
item ExplorerBarItem
Résultat void

HandleItemExpandingOrCollapsing() public méthode

Handles an item expanding or collapsing.
public HandleItemExpandingOrCollapsing ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Résultat void

Remove() public méthode

Removes the specified item from the collection of items.
public Remove ( ExplorerBarItem item ) : void
item ExplorerBarItem
Résultat void

Remove() public méthode

Removes from the item collection the item at the specified index.
public Remove ( int index ) : void
index int
Résultat void

SimpleExplorerBar() public méthode

Constructs a SimpleExplorerBar object.
public SimpleExplorerBar ( ) : System
Résultat System

item_SizeChanged() public méthode

Handles the SizeChanged event for the ExplorerBarItems.
public item_SizeChanged ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Résultat void