Table of Contents

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

text string

Properties

Color

Color (null = theme dim text).

public Color? Color { get; set; }

Property Value

Color?

Style

Style (null = theme normal, wrapping).

public TextStyle? Style { get; set; }

Property Value

TextStyle

Text

Text.

public string Text { get; set; }

Property Value

string

Methods

MeasureOverride(Size)

Natural size of the content for the available size (margins excluded).

protected override Size MeasureOverride(Size available)

Parameters

available Size

Returns

Size

OnRender(DrawingContext)

Draws the element (below its children).

protected override void OnRender(DrawingContext dc)

Parameters

dc DrawingContext