Exemple #1
0
 public void Set(SMContentPadding p)
 {
     Top    = p.Top;
     Bottom = p.Bottom;
     Left   = p.Left;
     Right  = p.Right;
 }
Exemple #2
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();
        }
Exemple #3
0
 public SMTextContainer(MNPage p)
     : base(p)
 {
     Text             = "Text Container";
     Evaluation       = MNEvaluationType.Inherited;
     ItemLayout       = new SMStatusLayout();
     ItemMargin       = new SMContentPadding();
     ItemMargin.Left  = ItemMargin.Right = 8;
     ItemMargin.Top   = ItemMargin.Bottom = 8;
     ItemPadding      = new SMContentPadding();
     ItemPadding.Left = ItemPadding.Right = 8;
     ItemPadding.Top  = ItemPadding.Bottom = 8;
 }