Example #1
0
        public TableView()
        {
            BackColor    = Color.FromArgb(171, 171, 171);
            CellPadding  = 1;
            ColumnsStyle = new TableButtonStyle();
            Padding      = new Padding(2);
            SkipControlsInitializations = false;

            Columns = new TableColumnCollection(this);
            Rows    = new TableRowCollection(this);
        }
Example #2
0
 public TableRowButton(TableButtonStyle style)
 {
     BackColor         = style.BackColor;
     HoverColor        = style.HoverColor;
     BorderColor       = style.BorderColor;
     BorderHoverColor  = style.BorderHoverColor;
     BorderSelectColor = style.BorderSelectColor;
     Padding           = new Padding(8, 0, 8, 0);
     Size      = new Size(100, 20);
     TextAlign = ContentAlignment.MiddleRight;
 }
Example #3
0
        public TableView()
        {
            BackColor    = Color.FromArgb(171, 171, 171);
            BorderColor  = Color.Black;
            CellPadding  = 1;
            ColumnsStyle = new TableButtonStyle();
            Padding      = new Padding(2);

            Columns = new TableColumnCollection(this);
            Rows    = new TableRowCollection(this);

            Size = new Size(240, 150);
        }
Example #4
0
 public TableColumnButton(TableView t, TableButtonStyle style)
 {
     BackColor            = style.BackColor;
     uwfHoverColor        = style.HoverColor;
     uwfBorderColor       = style.BorderColor;
     uwfBorderHoverColor  = style.BorderHoverColor;
     uwfBorderSelectColor = style.BorderSelectColor;
     Padding     = new Padding(8, 0, 8, 0);
     ResizeWidth = 8;
     Size        = new Size(t.ColumnsDefaultWidth, 20);
     TabStop     = false;
     TextAlign   = ContentAlignment.MiddleLeft;
 }
Example #5
0
            public TableColumnButton(TableButtonStyle style)
            {
                BackColor         = style.BackColor;
                HoverColor        = style.HoverColor;
                BorderColor       = style.BorderColor;
                BorderHoverColor  = style.BorderHoverColor;
                BorderSelectColor = style.BorderSelectColor;
                Padding           = new Padding(8, 0, 8, 0);
                ResizeWidth       = 8;
                Size      = new Size(100, 20);
                TextAlign = ContentAlignment.MiddleLeft;

                Owner.UpClick += Owner_UpClick;
            }
Example #6
0
        public TableView()
        {
            BackColor = Color.FromArgb(171, 171, 171);
            BorderColor = Color.Black;
            CellPadding = 1;
            ColumnsStyle = new TableButtonStyle();
            Padding = new Padding(2);
            SkipControlsInitializations = false;

            Columns = new TableColumnCollection(this);
            Rows = new TableRowCollection(this);

            Size = new Size(240, 150);
        }
Example #7
0
 public TableRowButton(TableButtonStyle style)
 {
     BackColor = style.BackColor;
     HoverColor = style.HoverColor;
     BorderColor = style.BorderColor;
     BorderHoverColor = style.BorderHoverColor;
     BorderSelectColor = style.BorderSelectColor;
     Padding = new Padding(8, 0, 8, 0);
     Size = new Size(100, 20);
     TextAlign = ContentAlignment.MiddleRight;
 }
Example #8
0
            public TableColumnButton(TableView t, TableButtonStyle style)
            {
                BackColor = style.BackColor;
                HoverColor = style.HoverColor;
                BorderColor = style.BorderColor;
                BorderHoverColor = style.BorderHoverColor;
                BorderSelectColor = style.BorderSelectColor;
                Padding = new Padding(8, 0, 8, 0);
                ResizeWidth = 8;
                Size = new Size(t.ColumnsDefaultWidth, 20);
                TextAlign = ContentAlignment.MiddleLeft;

                Owner.UpClick += Owner_UpClick;
            }