Back to Devexpress

ToolbarCustomItem.Text Property

aspnet-devexpress-dot-web-dot-aspxhtmleditor-dot-toolbarcustomitem.md

latest1.7 KB
Original Source

ToolbarCustomItem.Text Property

SECURITY-RELATED CONSIDERATIONS

Setting this property to values from an untrusted source may introduce security-related issues, since the property value is not encoded and is rendered as HTML markup. Call the HttpUtility.HtmlEncode method to encode the value.

Review the following help topic to better protect websites from cross-site scripting (XSS) attacks: HTML Encoding.

Gets or sets the text content of the toolbar custom item.

Namespace : DevExpress.Web.ASPxHtmlEditor

Assembly : DevExpress.Web.ASPxHtmlEditor.v25.2.dll

NuGet Package : DevExpress.Web

Declaration

csharp
public override string Text { get; set; }
vb
Public Overrides Property Text As String

Property Value

TypeDescription
String

A String value that specifies the item’s text content.

|

See Also

HTML Editor

ToolbarCustomItem Class

ToolbarCustomItem Members

DevExpress.Web.ASPxHtmlEditor Namespace