Back to Devexpress

ToolbarCustomItem.Value Property

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

latest1.8 KB
Original Source

ToolbarCustomItem.Value 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 toolbar item’s value.

Namespace : DevExpress.Web.ASPxHtmlEditor

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

NuGet Package : DevExpress.Web

Declaration

csharp
[DefaultValue("")]
public virtual string Value { get; set; }
vb
<DefaultValue("")>
Public Overridable Property Value As String

Property Value

TypeDefaultDescription
StringString.Empty

A String value that specifies the item’s value.

|

See Also

HTML Editor

ToolbarCustomItem Class

ToolbarCustomItem Members

DevExpress.Web.ASPxHtmlEditor Namespace