TabControlHelper.

GetCloseTabCommand(UIElement) Method

Summary

Gets a command for the TabItem which executes if the TabItem will be closed.
Namespace
MahApps.Metro.Controls
Containing Type
TabControlHelper

Syntax

[Category(AppName.MahApps)]
[AttachedPropertyBrowsableForType(typeof(TabItem))]
public static ICommand GetCloseTabCommand(UIElement element)

Attributes

Type Description
Category
AttachedPropertyBrowsableForType

Parameters

Name Type Description
element UIElement

Return Value

Type Description
ICommand