Table of Contents

Class TextBlockPresenter

Namespace
H.Presenters.Design
Assembly
H.Presenters.Design.dll
[Display(Name = "文本")]
public class TextBlockPresenter : CommandsDesignPresenterBase, INotifyPropertyChanged, IDisplayBindable, IIconable, INameable, IOrderable, IGroupable, IDable, IDescriptionable, IDesignPresenter, IDesignPresenterBase, ICloneable, ITextData
Inheritance
TextBlockPresenter
Implements
Derived
Inherited Members
Extension Methods

Constructors

TextBlockPresenter()

public TextBlockPresenter()

Properties

FontFamily

[Display(Name = "字体", GroupName = "样式")]
public FontFamily FontFamily { get; set; }

Property Value

FontFamily

FontSize

[Display(Name = "字号", GroupName = "常用,样式")]
public double FontSize { get; set; }

Property Value

double

FontStretch

[Display(Name = "字体展开", GroupName = "样式")]
public FontStretch FontStretch { get; set; }

Property Value

FontStretch

FontStyle

[Display(Name = "字体样式", GroupName = "样式")]
public FontStyle FontStyle { get; set; }

Property Value

FontStyle

FontWeight

[Display(Name = "字体加粗", GroupName = "样式")]
public FontWeight FontWeight { get; set; }

Property Value

FontWeight

Foreground

[Display(Name = "文本颜色", GroupName = "常用,样式")]
public Brush Foreground { get; set; }

Property Value

Brush

Text

[Display(Name = "文本", GroupName = "常用,数据")]
public string Text { get; set; }

Property Value

string

Methods

LoadDefault()

加载默认值。

public override void LoadDefault()