Back to Devexpress

SimpleButton.AllowHtmlDraw Property

windowsforms-devexpress-dot-xtraeditors-dot-simplebutton-069cc0c2.md

latest2.5 KB
Original Source

SimpleButton.AllowHtmlDraw Property

Gets or sets whether the current SimpleButton‘s caption can be formatted using HTML-tags.

Namespace : DevExpress.XtraEditors

Assembly : DevExpress.XtraEditors.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
[DefaultValue(DefaultBoolean.Default)]
[DXCategory("Appearance")]
public DefaultBoolean AllowHtmlDraw { get; set; }
vb
<DefaultValue(DefaultBoolean.Default)>
<DXCategory("Appearance")>
Public Property AllowHtmlDraw As DefaultBoolean

Property Value

TypeDefaultDescription
DefaultBooleanDefault

true if the current SimpleButton‘s caption can be formatted using HTML-tags; otherwise, false.

|

Available values:

NameDescriptionReturn Value
True

The value is true.

|

0

| | False |

The value is false.

|

1

| | Default |

The value is specified by a global option or a higher-level object.

|

2

|

Remarks

The AllowHtmlDraw property specifies whether or not you can utilize HTML tags to format the current SimpleButton‘s caption, set via the SimpleButton.Text property. You can also use the BaseControl.AllowHtmlTextInToolTip property to enable/disable a SimpleButton‘s tool-tip HTML-formatting.

See Also

Text

AllowHtmlTextInToolTip

HTML-inspired Text Formatting

SimpleButton Class

SimpleButton Members

DevExpress.XtraEditors Namespace