Example #1
0
 public SMRichText(SMControl parent)
 {
     Font                 = parent.Font;
     Paragraph            = parent.Paragraph;
     Columns              = -1;
     ColumnSeparatorWidth = 20;
 }
Example #2
0
 public void Set(SMParaFormat p)
 {
     this.SizeToFit   = p.SizeToFit;
     this.LineSpacing = p.LineSpacing;
     this.VertAlign   = p.VertAlign;
     this.Align       = p.Align;
 }
Example #3
0
        /*
         * [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();
        }