ASP.NET Pack Programmer's Guide
TreeViewNode.EnableStyledText Property
See Also
 





Gets or sets a value indicating whether styled text rendering is enabled.

Namespace: MindFusion.Diagramming
Package: MindFusion.Diagramming

 Syntax

C#  Copy Code

public bool EnableStyledText { get; set; }

Visual Basic  Copy Code

Public Property EnableStyledText As Boolean

 Property Value

true to parse the text of the node's caption and items in order to find formatting tags; otherwise false. Initialized with the value of EnableStyledText.

 Remarks

Styled text allows applying various attributes to the characters it contains. Attributes are specified using HTML-like formatting tags embedded in the raw text. Formatting tags are listed and described in the Text Attributes and Formatting section of this help file.

If EnableStyledText is set to true, the node's Caption and the items' Label are parsed and analyzed each time they change. Parsing determines what formatting tags are used and adds the corresponding attribute records to MindFusion.Diagramming for WebForms internal representation of styled text. If the property value is false, the text is not processed in any way and is displayed without formatting.

 See Also

TreeViewNode Members
TreeViewNode Class
MindFusion.Diagramming Namespace