Table of Contents

Class TextLinkData

Namespace
H.Controls.Diagram.Presenter.LinkDatas
Assembly
H.Controls.Diagram.Presenter.dll
public class TextLinkData : LinkData, INotifyPropertyChanged, IDisplayBindable, IIconable, INameable, IOrderable, IGroupable, IDable, IDescriptionable, ILinkData, IPartData, IData, ITextLinkData, ITextable
Inheritance
TextLinkData
Implements
Derived
Inherited Members
Extension Methods

Properties

Background

[Display(Name = "文本背景", GroupName = "常用")]
public Brush Background { get; set; }

Property Value

Brush

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

ApplayStyleTo(ILinkData)

public override void ApplayStyleTo(ILinkData to)

Parameters

to ILinkData

LoadDefault()

加载默认值。

public override void LoadDefault()