TabControlHelper.

SetCloseButtonEnabled(UIElement, bool) Method

Summary

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

Attributes

Type Description
Category
AttachedPropertyBrowsableForType

Parameters

Name Type Description
element UIElement
value bool

Return Value

Type Description
void