The editor HTML Filter allows you to accept HTML input from your users, filter it to make sure it contains only an allowed set of tags, attributes and values and then display it without leaving yourself open to XSS holes. StyleWhiteList property allows you set a list of style attributes that will not be removed from content sources.

Namespace: RTE
Assembly: RichTextEditor (in RichTextEditor.dll) Version: 8.0.0.0 (8.0.0.0)

Syntax

C#
public string StyleWhiteList { get; set; }
Visual Basic
Public Property StyleWhiteList As String
	Get
	Set
Visual C++
public:
property String^ StyleWhiteList {
	String^ get ();
	void set (String^ value);
}

See Also