C# Class WebExpress.TabBar

Inheritance: System.Windows.Controls.UserControl
Datei anzeigen Open project: Sential/WebExpress-beta Class Usage Examples

Public Properties

Property Type Description
TabCollection List

Public Methods

Method Description
AddTab ( OpenTabCommandParameters commandParams, MainWindow mw ) : void
CalcSizes ( ) : System.Threading.Tasks.Task
RemoveTab ( Tab tabToRemove ) : void
SelectTab ( Tab tabSelect ) : void
TabBar ( ) : System
getSelectedTab ( ) : Tab
getTabFromForm ( System.Windows.Controls.UserControl form ) : Tab

Private Methods

Method Description
AddButton_Click ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void
GetSizes ( ) : double
TabBar1_SizeChanged ( object sender, System.Windows.SizeChangedEventArgs e ) : void

Method Details

AddTab() public method

public AddTab ( OpenTabCommandParameters commandParams, MainWindow mw ) : void
commandParams OpenTabCommandParameters
mw MainWindow
return void

CalcSizes() public method

public CalcSizes ( ) : System.Threading.Tasks.Task
return System.Threading.Tasks.Task

RemoveTab() public method

public RemoveTab ( Tab tabToRemove ) : void
tabToRemove Tab
return void

SelectTab() public method

public SelectTab ( Tab tabSelect ) : void
tabSelect Tab
return void

TabBar() public method

public TabBar ( ) : System
return System

getSelectedTab() public method

public getSelectedTab ( ) : Tab
return Tab

getTabFromForm() public method

public getTabFromForm ( System.Windows.Controls.UserControl form ) : Tab
form System.Windows.Controls.UserControl
return Tab

Property Details

TabCollection public_oe property

public List TabCollection
return List