TabControlHelper.

SetCloseTabCommand(UIElement, ICommand) Method

Summary

Sets 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 void SetCloseTabCommand(UIElement element, ICommand value)

Attributes

Type Description
Category
AttachedPropertyBrowsableForType

Parameters

Name Type Description
element UIElement
value ICommand

Return Value

Type Description
void