TabControlHelper.

GetCloseTabCommandParameter(UIElement) Method

Summary

Gets a command parameter for the TabItem that will be passed to the CloseTabCommand.
Namespace
MahApps.Metro.Controls
Containing Type
TabControlHelper

Syntax

[Category(AppName.MahApps)]
[AttachedPropertyBrowsableForType(typeof(TabItem))]
public static object GetCloseTabCommandParameter(UIElement element)

Attributes

Type Description
Category
AttachedPropertyBrowsableForType

Parameters

Name Type Description
element UIElement

Return Value

Type Description
object