Class DialogText
- Namespace
- PluginUI
- Assembly
- PluginUI.dll
Wrapped text block used by dialogs (and usable anywhere a paragraph is needed).
public class DialogText : UIElement
- Inheritance
-
DialogText
- Inherited Members
Constructors
DialogText(string)
Creates a paragraph.
public DialogText(string text)
Parameters
textstring
Properties
Color
Color (null = theme dim text).
public Color? Color { get; set; }
Property Value
Style
Style (null = theme normal, wrapping).
public TextStyle? Style { get; set; }
Property Value
Text
Text.
public string Text { get; set; }
Property Value
Methods
MeasureOverride(Size)
Natural size of the content for the available size (margins excluded).
protected override Size MeasureOverride(Size available)
Parameters
availableSize
Returns
OnRender(DrawingContext)
Draws the element (below its children).
protected override void OnRender(DrawingContext dc)