MindFusion.Wpf Pack Programmer's Guide
TableNode.CaptionPlainText Property
See Also
 





Gets the plain text of the table's caption.

Namespace: MindFusion.Diagramming.Wpf
Assembly: MindFusion.Diagramming.Wpf

 Syntax

C#  Copy Code

public string CaptionPlainText { get; }

Visual Basic  Copy Code

Public ReadOnly Property CaptionPlainText As String

 Property Value

A string containing the plain text of the caption.

 Remarks

This property removes any formatting tags from Caption and returns the plain human-readable text. That is useful when styled text is enabled and you need to display caption's content outside of Diagramming for WPF, that is, in a message box or a dialog.

 Example

The following sample code demonstrates how CaptionPlainText can be used.

C#  Copy Code
t.EnableStyledText = true;
t.Caption = "<b>interface</b> <i><u>IMouseListener</u></i>";
MessageBox.Show(t.CaptionPlainText);
Visual Basic  Copy Code
t.EnableStyledText = True
t.Caption = "<b>interface</b> <i><u>IMouseListener</u></i>"
MessageBox.Show(t.CaptionPlainText)

 See Also

TableNode Members
TableNode Class
MindFusion.Diagramming.Wpf Namespace
EnableStyledText Property