TabControlHelper.

GetCloseButtonEnabled(UIElement) Method

Summary

Gets whether a close button should be visible or not.
Namespace
MahApps.Metro.Controls
Containing Type
TabControlHelper

Syntax

[Category(AppName.MahApps)]
[AttachedPropertyBrowsableForType(typeof(TabItem))]
public static bool GetCloseButtonEnabled(UIElement element)

Attributes

Type Description
Category
AttachedPropertyBrowsableForType

Parameters

Name Type Description
element UIElement

Return Value

Type Description
bool