C# Class WebExpress.Tab

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

Public Properties

Property Type Description
actualForeground System.Windows.Media.Brush
darkColor bool
form System.Windows.Controls.UserControl
mainWindow MainWindow

Public Methods

Method Description
SetIcon ( BitmapImage icon ) : void
SetTitle ( string title ) : void
Tab ( string title, MainWindow mw, System.Windows.Controls.UserControl uc, System brush ) : System
refreshColor ( ) : void

Private Methods

Method Description
Grid_MouseDown ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void
Me_MouseDown ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void
Me_SizeChanged ( object sender, System.Windows.SizeChangedEventArgs e ) : void
Tab_Loaded ( object sender, RoutedEventArgs e ) : void
bg2_MouseEnter ( object sender, System.Windows.Input.MouseEventArgs e ) : void
bg2_MouseLeave ( object sender, System.Windows.Input.MouseEventArgs e ) : void
button_close_Click ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void
label_TabTitle_SizeChanged ( object sender, System.Windows.SizeChangedEventArgs e ) : void

Method Details

SetIcon() public method

public SetIcon ( BitmapImage icon ) : void
icon System.Windows.Media.Imaging.BitmapImage
return void

SetTitle() public method

public SetTitle ( string title ) : void
title string
return void

Tab() public method

public Tab ( string title, MainWindow mw, System.Windows.Controls.UserControl uc, System brush ) : System
title string
mw MainWindow
uc System.Windows.Controls.UserControl
brush System
return System

refreshColor() public method

public refreshColor ( ) : void
return void

Property Details

actualForeground public_oe property

public Brush,System.Windows.Media actualForeground
return System.Windows.Media.Brush

darkColor public_oe property

public bool darkColor
return bool

form public_oe property

public UserControl,System.Windows.Controls form
return System.Windows.Controls.UserControl

mainWindow public_oe property

public MainWindow,WebExpress mainWindow
return MainWindow