C# Class MonoGameUi.TabControl

Inheritance: Control
Datei anzeigen Open project: OctoAwesome/monogameui Class Usage Examples

Public Properties

Property Type Description
tabActiveBrush MonoGameUi.Brush
tabBrush MonoGameUi.Brush
tabListBackground MonoGameUi.Brush
tabPageBackground MonoGameUi.Brush

Private Properties

Property Type Description
OnInsert void
OnRemove void

Public Methods

Method Description
SelectTab ( TabPage page ) : void

Selektieren eines Tabs mit Page

SelectTab ( int index ) : void

Selektieren eines Tabs mit Index

TabControl ( BaseScreenComponent manager ) : System

Base Constructor

Private Methods

Method Description
OnInsert ( TabPage item, int index ) : void

Wird aufgerufen wenn ein neues Element zu "Pages" hinzugefügt wird, erstellt einen neuen Eintrag in der TabList

OnRemove ( TabPage item, int index ) : void

Wird aufgerufen wenn ein Element aus "Pages" entfernt wird, entfernt den Eintrag in der TabList

Method Details

SelectTab() public method

Selektieren eines Tabs mit Page
public SelectTab ( TabPage page ) : void
page TabPage
return void

SelectTab() public method

Selektieren eines Tabs mit Index
public SelectTab ( int index ) : void
index int
return void

TabControl() public method

Base Constructor
public TabControl ( BaseScreenComponent manager ) : System
manager BaseScreenComponent ScreenManager
return System

Property Details

tabActiveBrush public_oe property

Die nötigen Brushes
public Brush,MonoGameUi tabActiveBrush
return MonoGameUi.Brush

tabBrush public_oe property

public Brush,MonoGameUi tabBrush
return MonoGameUi.Brush

tabListBackground public_oe property

public Brush,MonoGameUi tabListBackground
return MonoGameUi.Brush

tabPageBackground public_oe property

public Brush,MonoGameUi tabPageBackground
return MonoGameUi.Brush