Ejemplo n.º 1
0
 public SMImageButton(MNPage p) : base(p)
 {
     ImgA              = new MNLazyImage(p.Document);
     Evaluation        = MNEvaluationType.None;
     ContentArangement = SMContentArangement.ImageOnly;
     Clickable         = true;
     rt = new SMRichText(this);
 }
Ejemplo n.º 2
0
 public SMCheckBox(MNPage p)
     : base(p)
 {
     Text          = "Check Box";
     Evaluation    = MNEvaluationType.Inherited;
     CheckBoxAtEnd = false;
     richText      = new SMRichText(this);
 }
Ejemplo n.º 3
0
 public SMLabel(MNPage p)
     : base(p)
 {
     Text          = "Label";
     RichContent   = true;
     RunningLine   = SMRunningLine.Natural;
     richText      = new SMRichText(this);
     Area.BackType = SMBackgroundType.None;
 }
Ejemplo n.º 4
0
        public SMTitledMessage(MNPage p)
            : base(p)
        {
            Visible                 = true;
            titleRichText           = new SMRichText();
            titleRichText.Font.Size = 17;
            titleRichText.Font.Name = MNFontName.ChaparralPro;

            messageRichText           = new SMRichText(this);
            messageRichText.Font.Name = MNFontName.ChaparralPro;
            messageRichText.Font.Size = 14;
        }
Ejemplo n.º 5
0
 public SMImage(MNPage p) : base(p)
 {
     Img               = new MNLazyImage(p.Document);
     ContentScaling    = SMContentScaling.Fit;
     Evaluation        = MNEvaluationType.Inherited;
     DroppedTag        = "";
     DroppedImage      = null;
     DroppedText       = "";
     ContentArangement = SMContentArangement.ImageOnly;
     SourceOffsetX     = 50;
     SourceOffsetY     = 50;
     rt = new SMRichText(this);
 }