// public Brush BackgroundBrush{get;set;} public BackgroundStyle(CwFCTB _Fctb, Brush backgroundBrush) { _Fctb.SetStyleLayerIndex(this); // this.BackgroundBrush = backgroundBrush; IsExportable = true; }
// public ForeStyle(FontStyle fontStyle) public ForeStyle(CwFCTB _Fctb, FontStyle fontStyle) : base(null, null, fontStyle) { // Fctb.SetStyleLayerIndex(this); _Fctb.SetStyleLayerIndex(this); // this.ForeBrush = foreBrush; // this.BackgroundBrush = backgroundBrush; this.FontStyle = fontStyle; stringFormat = new StringFormat(StringFormatFlags.MeasureTrailingSpaces); }