Class TextNodeData
public class TextNodeData : PortableNodeData, INotifyPropertyChanged, IDisplayBindable, IIconable, INameable, IOrderable, IGroupable, IDable, IDescriptionable, ICloneable, INodeData, IPartData, IData, ITemplate, IPortDataCreator, IPortableNodeData, ILinkDataCreator, ITextNodeData, ITextable
- Inheritance
-
TextNodeData
- Implements
- Derived
- Inherited Members
- Extension Methods
Constructors
TextNodeData()
public TextNodeData()
Properties
FontFamily
[Display(Name = "字体", GroupName = "文本")]
public FontFamily FontFamily { get; set; }
Property Value
FontSize
[Display(Name = "字号", GroupName = "常用")]
public double FontSize { get; set; }
Property Value
FontStretch
[Display(Name = "字体展开", GroupName = "文本")]
public FontStretch FontStretch { get; set; }
Property Value
FontStyle
[Display(Name = "字体样式", GroupName = "文本")]
public FontStyle FontStyle { get; set; }
Property Value
FontWeight
[Display(Name = "字体加粗", GroupName = "文本")]
public FontWeight FontWeight { get; set; }
Property Value
Foreground
[Display(Name = "文本颜色", GroupName = "常用")]
public Brush Foreground { get; set; }
Property Value
Text
[Display(Name = "文本", GroupName = "常用")]
public virtual string Text { get; set; }
Property Value
TextMargin
[Display(Name = "文本间距", GroupName = "常用")]
public Thickness TextMargin { get; set; }
Property Value
Methods
ApplayStyleTo(INodeData)
public override void ApplayStyleTo(INodeData to)
Parameters
to
INodeData
LoadDefault()
加载默认值。
public override void LoadDefault()