MindFusion.Wpf Pack Programmer's Guide
TextAttributes Members
Constructors Properties Methods Events
 


Defines attributes of text content displayed by diagram items.

The following tables list the members exposed by the TextAttributes type.

 Public Constructors

  Name Description

TextAttributes

Overloaded. Initializes a new instance of the TextAttributes class.

 Public Properties

  Name Description

ConstrainedHeight

Gets whether text layout area has limited height.

FontFamily

Gets or sets the preferred font family for this DiagramItem.

FontSize

Gets or sets the font size for this DiagramItem.

FontStretch

Gets or sets the font-stretching characteristics for this DiagramItem.

FontStyle

Gets or sets the font style for this DiagramItem.

FontWeight

Gets or sets the font weight for this DiagramItem.

TextAlignment

Gets or sets a value that indicates the horizontal alignment of text content.

TextBrush

Gets or sets the text displayed inside this item.

TextDecorations

Gets or sets the effects to apply to the text of this DiagramItem.

TextPadding

Gets or sets the thickness of padding space between the item boundaries and its text.

TextTrimming

Gets or sets the text trimming to employ when text overflows the item area.

TextVerticalAlignment

Gets or sets a value that indicates the vertical alignment of text content.

TextWrapping

Gets or sets how this DiagramItem should wrap text.

 Public Methods

  Name Description

Copy

Copies text attributes from source object to target object.

 Public Events

  Name Description

PropertyChanged

Implements the INotifyPropertyChanged.PropertyChanged event.

 See Also

TextAttributes Class
MindFusion.Diagramming.Wpf Namespace