Gets the plain text of the table's caption.
Namespace: MindFusion.Diagramming.Wpf
Assembly: MindFusion.Diagramming.Wpf
C# Copy Code |
---|
public string CaptionPlainText { get; } |
Visual Basic Copy Code |
---|
Public ReadOnly Property CaptionPlainText As String |
A string containing the plain text of the caption.
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 WpfDiagram, that is, in a message box or a dialog.
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) |
WpfDiagram Programmer's Guide | © 2024 MindFusion |