public SMRichText(SMControl parent) { Font = parent.Font; Paragraph = parent.Paragraph; Columns = -1; ColumnSeparatorWidth = 20; }
public void Set(SMParaFormat p) { this.SizeToFit = p.SizeToFit; this.LineSpacing = p.LineSpacing; this.VertAlign = p.VertAlign; this.Align = p.Align; }
/* * [Browsable(true), Category("Appearance")] * public bool SizeToFit { get; set; } * * [Browsable(true), Category("Appearance")] * public float LineSpacing { get; set; }*/ public MNReferencedStyle() { Name = ""; Font = new SMFont(); ContentPadding = new SMContentPadding(); Paragraph = new SMParaFormat(); HighlightState = new SMStatusLayout(); NormalState = new SMStatusLayout(); }