C# Класс SIL.FieldWorks.Common.Controls.SimpleExplorerBar

Encapsulates a simple explorer bar-like control.
Наследование: FwPanel
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
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.

Приватные методы

Метод Описание
ManageVScrollBar ( ) : void

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

Описание методов

Add() публичный Метод

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
Результат ExplorerBarItem

Add() публичный Метод

Adds the specified item to the item collection.
public Add ( ExplorerBarItem item ) : void
item ExplorerBarItem
Результат void

HandleItemExpandingOrCollapsing() публичный Метод

Handles an item expanding or collapsing.
public HandleItemExpandingOrCollapsing ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Результат void

Remove() публичный Метод

Removes the specified item from the collection of items.
public Remove ( ExplorerBarItem item ) : void
item ExplorerBarItem
Результат void

Remove() публичный Метод

Removes from the item collection the item at the specified index.
public Remove ( int index ) : void
index int
Результат void

SimpleExplorerBar() публичный Метод

Constructs a SimpleExplorerBar object.
public SimpleExplorerBar ( ) : System
Результат System

item_SizeChanged() публичный Метод

Handles the SizeChanged event for the ExplorerBarItems.
public item_SizeChanged ( object sender, EventArgs e ) : void
sender object
e System.EventArgs
Результат void