public StyleBuilderTable()
        {
            TableBorderCollapse = new BorderCollapse()
            {
                Value = BorderCollapse.Unit.collapse
            };
            TableBorderSpacing = new LengthPixel()
            {
                Value = 0
            };
            TableLayout = new TableLayout()
            {
                Value = TableLayout.Unit.auto
            };
            TableShowEmptyCells = new TableShowEmptyCells()
            {
                Value = TableShowEmptyCells.Unit.show
            };

            BorderWidth = new LengthPixel()
            {
                Value = 1
            };
            BorderStyle = new BorderStyle()
            {
                Value = BorderStyle.Unit.solid
            };
            BorderColor = Color.Silver;
        }
 public StyleBuilderTableHeaderCell()
 {
     BorderWidth = new LengthPixel()
     {
         Value = 1
     };
     BorderStyle = new BorderStyle()
     {
         Value = BorderStyle.Unit.solid
     };
     BorderColor = Color.Silver;
     TextAlign   = new TextAlign()
     {
         Value = TextAlign.Unit.center
     };
     BackgroundColor = Color.Gray;
 }
 public StyleBuilderTableCell()
 {
     BorderWidth = new LengthPixel()
     {
         Value = 1
     };
     BorderStyle = new BorderStyle()
     {
         Value = BorderStyle.Unit.solid
     };
     BorderColor = Color.Silver;
     TextAlign   = new TextAlign()
     {
         Value = TextAlign.Unit.left
     };
     VerticalAlign = new VerticalAlign()
     {
         Value = VerticalAlign.Unit.text_top
     };
 }
Esempio n. 4
0
 public PenSolidColor(Css.Color color, Css.BorderStyle dash, Css.LengthPixel width) : base(color, dash, width)
 {
 }
Esempio n. 5
0
 protected PenSolidColor(Css.Color color, Css.BorderStyle dash, Css.LengthPixel width)
 {
     DashStyle = dash;
     Color     = color;
     Width     = width;
 }
Esempio n. 6
0
 protected PenSolidColor(Css.Color color, Css.BorderStyle dash)
 {
     DashStyle = dash;
     Color     = color;
     Width     = new Css.LengthPixel(1);
 }
Esempio n. 7
0
 protected PenSolidColor(Css.Color color)
 {
     DashStyle = Css.BorderStyle.Solid;
     Color     = color;
     Width     = new Css.LengthPixel(1);
 }
Esempio n. 8
0
 protected PenSolidColor()
 {
     DashStyle = Css.BorderStyle.Solid;
     Color     = Css.Color.Black;
     Width     = new Css.LengthPixel(1);
 }
Esempio n. 9
0
 public string SetSolidStrokeStyle(Css.Color color, Css.LengthPixel length)
 {
     return(CreateMethodCall("setSolidStrokeStyle", "\'" + color.ToHtmlColorString() + "\'", length.Value.ToString(jsNif)));
 }