Exemple #1
0
        public void CopyFrom_Self()
        {
            TableStyle ts = GetTableStyle();

            ts.CopyFrom(ts);
            CheckTableStyle(ts);
        }
Exemple #2
0
        public void CopyFrom_Null()
        {
            TableStyle ts = GetTableStyle();

            ts.CopyFrom(null);
            CheckTableStyle(ts);
        }
Exemple #3
0
        public void CopyFrom()
        {
            TableStyle ts = new TableStyle();

            ts.BackImageUrl    = imageUrl + "1";
            ts.CellPadding     = 2;
            ts.CellSpacing     = 3;
            ts.GridLines       = GridLines.Horizontal;
            ts.HorizontalAlign = HorizontalAlign.Left;

            ts.CopyFrom(GetTableStyle());
            CheckTableStyle(ts);
        }