MahApps.Metro by Jan Karger, Dennis Daume, Brendan Forster, Paul Jenkins, Jake Ginnivan, Alex Mitchell

<PackageReference Include="MahApps.Metro" Version="2.1.1" />

.NET API 3,425,904 bytes

 TabControlHelper

public static class TabControlHelper

Identifies the CloseButtonEnabled attached property.

Identifies the CloseTabCommandParameter attached property.

Identifies the CloseTabCommand attached property.

public static readonly DependencyProperty TransitionProperty

This property can be used to set the Transition for animated TabControls

Defines the underline brush below the TabItem or TabPanel.

public static readonly DependencyProperty UnderlinedProperty

Defines whether the underline below the TabItem or TabPanel is shown or not.

Defines the underline brush below the TabItem or TabPanel if the mouse is over an item.

Defines the underline brush below the TabItem or TabPanel if the mouse is over a selected item.

Defines the position of the TabItem Underline

Defines the underline brush below the TabItem or TabPanel of an selected item.

public static void ClearStyle(this TabItem tabItem)

public static bool GetCloseButtonEnabled(UIElement element)

Gets whether a close button should be visible or not.

public static ICommand GetCloseTabCommand(UIElement element)

Gets a command for the TabItem which executes if the TabItem will be closed.

public static object GetCloseTabCommandParameter(UIElement element)

Gets a command parameter for the TabItem that will be passed to the CloseTabCommand.

public static Brush GetUnderlineBrush(UIElement element)

public static UnderlinedType GetUnderlined(UIElement element)

public static Dock? GetUnderlinePlacement(UIElement element)

public static Brush GetUnderlineSelectedBrush(UIElement element)

public static void SetCloseButtonEnabled(UIElement element, bool value)

Sets whether a close button should be visible or not.

public static void SetCloseTabCommand(UIElement element, ICommand value)

Sets a command for the TabItem which executes if the TabItem will be closed.

public static void SetCloseTabCommandParameter(UIElement element, object value)

Sets a command parameter for the TabItem that will be passed to the CloseTabCommand.

public static void SetTransition(DependencyObject obj, TransitionType value)

public static void SetUnderlineBrush(UIElement element, Brush value)

public static void SetUnderlined(UIElement element, UnderlinedType value)

public static void SetUnderlineMouseOverBrush(UIElement element, Brush value)

public static void SetUnderlineMouseOverSelectedBrush(UIElement element, Brush value)

public static void SetUnderlinePlacement(UIElement element, Dock? value)

public static void SetUnderlineSelectedBrush(UIElement element, Brush value)