C# Class MahApps.Metro.Controls.BaseMetroTabControl

A base class for every MetroTabControl (Pivot).
Inheritance: System.Windows.Controls.TabControl
ファイルを表示 Open project: Irdis/VSTalk Class Usage Examples

Public Properties

Property Type Description
CloseTabCommandProperty System.Windows.DependencyProperty
TabStripMarginProperty DependencyProperty

Private Properties

Property Type Description
BaseMetroTabControl_Loaded void
BaseMetroTabControl_Unloaded void
RaiseTabItemClosingEvent bool

Public Methods

Method Description
BaseMetroTabControl ( ) : System

Protected Methods

Method Description
GetContainerForItemOverride ( ) : DependencyObject
IsItemItsOwnContainerOverride ( object item ) : bool
PrepareContainerForItemOverride ( DependencyObject element, object item ) : void

Private Methods

Method Description
BaseMetroTabControl_Loaded ( object sender, RoutedEventArgs e ) : void
BaseMetroTabControl_Unloaded ( object sender, RoutedEventArgs e ) : void
RaiseTabItemClosingEvent ( MetroTabItem closingItem ) : bool

Method Details

BaseMetroTabControl() public method

public BaseMetroTabControl ( ) : System
return System

GetContainerForItemOverride() protected method

protected GetContainerForItemOverride ( ) : DependencyObject
return System.Windows.DependencyObject

IsItemItsOwnContainerOverride() protected method

protected IsItemItsOwnContainerOverride ( object item ) : bool
item object
return bool

PrepareContainerForItemOverride() protected method

protected PrepareContainerForItemOverride ( DependencyObject element, object item ) : void
element DependencyObject
item object
return void

Property Details

CloseTabCommandProperty public_oe static_oe property

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

TabStripMarginProperty public_oe static_oe property

public static DependencyProperty TabStripMarginProperty
return DependencyProperty