TabControlHelper Class

Namespace
MahApps.Metro.Controls
Base Types
  • object
graph BT Type-->Base0["object"] Type["TabControlHelper"] class Type type-node

Syntax

public static class TabControlHelper

Fields

Name Constant Value Summary
CloseButtonEnabledProperty
Identifies the CloseButtonEnabled attached property.
static
CloseTabCommandParameterProperty
Identifies the CloseTabCommandParameter attached property.
static
CloseTabCommandProperty
Identifies the CloseTabCommand attached property.
static
TransitionProperty
This property can be used to set the Transition for animated TabControls
static
UnderlineBrushProperty
Defines the underline brush below the TabItem or TabPanel.
static
UnderlinedProperty
Defines whether the underline below the TabItem or TabPanel is shown or not.
static
UnderlineMouseOverBrushProperty
Defines the underline brush below the TabItem or TabPanel if the mouse is over an item.
static
UnderlineMouseOverSelectedBrushProperty
Defines the underline brush below the TabItem or TabPanel if the mouse is over a selected item.
static
UnderlinePlacementProperty
Defines the position of the TabItem Underline
static
UnderlineSelectedBrushProperty
Defines the underline brush below the TabItem or TabPanel of an selected item.
static

Methods

Name Value Summary
ClearStyle(TabItem) void
static
GetCloseButtonEnabled(UIElement) bool
Gets whether a close button should be visible or not.
static
GetCloseTabCommand(UIElement) ICommand
Gets a command for the TabItem which executes if the TabItem will be closed.
static
GetCloseTabCommandParameter(UIElement) object
Gets a command parameter for the TabItem that will be passed to the CloseTabCommand.
static
GetTransition(DependencyObject) TransitionType
static
GetUnderlineBrush(UIElement) Brush
static
GetUnderlined(UIElement) UnderlinedType
static
GetUnderlineMouseOverBrush(UIElement) Brush
static
GetUnderlineMouseOverSelectedBrush(UIElement) Brush
static
GetUnderlinePlacement(UIElement) Dock?
static
GetUnderlineSelectedBrush(UIElement) Brush
static
SetCloseButtonEnabled(UIElement, bool) void
Sets whether a close button should be visible or not.
static
SetCloseTabCommand(UIElement, ICommand) void
Sets a command for the TabItem which executes if the TabItem will be closed.
static
SetCloseTabCommandParameter(UIElement, object) void
Sets a command parameter for the TabItem that will be passed to the CloseTabCommand.
static
SetTransition(DependencyObject, TransitionType) void
static
SetUnderlineBrush(UIElement, Brush) void
static
SetUnderlined(UIElement, UnderlinedType) void
static
SetUnderlineMouseOverBrush(UIElement, Brush) void
static
SetUnderlineMouseOverSelectedBrush(UIElement, Brush) void
static
SetUnderlinePlacement(UIElement, Dock?) void
static
SetUnderlineSelectedBrush(UIElement, Brush) void
static