C# Class TrakHound_Dashboard.Controls.TabHeader

Interaction logic for TH_TabHeader.xaml
Inheritance: System.Windows.Controls.UserControl
Show file Open project: TrakHound/TrakHound-Community Class Usage Examples

Public Properties

Property Type Description
ClosingProperty System.Windows.DependencyProperty
ImageProperty System.Windows.DependencyProperty
IsSelectedProperty System.Windows.DependencyProperty
MouseOverProperty System.Windows.DependencyProperty
TextProperty System.Windows.DependencyProperty

Public Methods

Method Description
Close ( ) : void
Open ( bool fade = false ) : void
TabHeader ( ) : System

Private Methods

Method Description
AnimateSpaceClosing ( ) : void
AnimateTabClosing ( ) : void
AnimateTabOpening_Height ( ) : void
AnimateTabOpening_Opacity ( ) : void
AnimateTabOpening_Width ( ) : void
Animation_Completed ( object sender, EventArgs e ) : void
ChangeWidth ( double width, System.Windows.Controls.TextBlock txt ) : void
Control_MouseDown ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void
Control_MouseEnter ( object sender, System.Windows.Input.MouseEventArgs e ) : void
Control_MouseLeave ( object sender, System.Windows.Input.MouseEventArgs e ) : void
GetFormattedText ( string s ) : System.Windows.Media.FormattedText
Opening_WIDTH_Completed ( object sender, EventArgs e ) : void
SpaceClosingAnimation_Completed ( object sender, EventArgs e ) : void
TabClosingAnimation_Completed ( object sender, EventArgs e ) : void
TabItemClose_MouseDown ( object sender, System.Windows.Input.MouseButtonEventArgs e ) : void
TextBlock_SizeChanged ( object sender, System.Windows.SizeChangedEventArgs e ) : void
UserControl_SizeChanged ( object sender, System.Windows.SizeChangedEventArgs e ) : void

Method Details

Close() public method

public Close ( ) : void
return void

Open() public method

public Open ( bool fade = false ) : void
fade bool
return void

TabHeader() public method

public TabHeader ( ) : System
return System

Property Details

ClosingProperty public static property

public static DependencyProperty,System.Windows ClosingProperty
return System.Windows.DependencyProperty

ImageProperty public static property

public static DependencyProperty,System.Windows ImageProperty
return System.Windows.DependencyProperty

IsSelectedProperty public static property

public static DependencyProperty,System.Windows IsSelectedProperty
return System.Windows.DependencyProperty

MouseOverProperty public static property

public static DependencyProperty,System.Windows MouseOverProperty
return System.Windows.DependencyProperty

TextProperty public static property

public static DependencyProperty,System.Windows TextProperty
return System.Windows.DependencyProperty