Back to Devexpress

IButtonProperties.Tag Property

windowsforms-devexpress-dot-xtraeditors-dot-buttonpanel-dot-ibuttonproperties-64a13267.md

latest2.1 KB
Original Source

IButtonProperties.Tag Property

Gets or sets the current IButton object’s tag.

Namespace : DevExpress.XtraEditors.ButtonPanel

Assembly : DevExpress.Utils.v25.2.dll

NuGet Packages : DevExpress.Utils, DevExpress.Wpf.Core

Declaration

csharp
[DXCategory("Behavior")]
object Tag { get; set; }
vb
<DXCategory("Behavior")>
Property Tag As Object

Property Value

TypeDescription
Object

An Object that is the current IButton object’s tag.

|

Remarks

This property can be used to store any object that you want to associate with a custom button. Any type derived from the System.Object class can be assigned to this property via code. At design time, a specially designed dialog is used to set this property value. The dialog enables you to choose the data type and enter the desired value. See the Header Buttons and WindowsUI Custom Buttons topics to learn more.

See Also

Header Buttons

WindowsUI Buttons

IButtonProperties Interface

IButtonProperties Members

DevExpress.XtraEditors.ButtonPanel Namespace