|
2 | 2 | @using Blazor.WebForm.UI.ControlComponents |
3 | 3 | @using System.Web.UI |
4 | 4 | @using System.Web.UI.WebControls |
5 | | -@inherits WebControlComponent<System.Web.UI.WebControls.Table> |
| 5 | +@inherits TableControlComponent<System.Web.UI.WebControls.Table> |
6 | 6 | @this.RenderWithCascading(this.Control, this.ChildContent, this.ChildLevel) |
7 | 7 | @code { |
8 | 8 | [Parameter] |
9 | 9 | public RenderFragment ChildContent { get; set; } |
10 | 10 |
|
11 | 11 | [Parameter] |
12 | 12 | public int ChildLevel { get; set; } = 2; |
13 | | - |
14 | | - [Parameter] |
15 | | - public HorizontalAlign HorizontalAlign |
16 | | - { |
17 | | - get |
18 | | - { |
19 | | - return this.Control.HorizontalAlign; |
20 | | - } |
21 | | - set |
22 | | - { |
23 | | - this.Control.HorizontalAlign = value; |
24 | | - } |
25 | | - } |
26 | | - |
27 | | - [Parameter] |
28 | | - public GridLines GridLines |
29 | | - { |
30 | | - get |
31 | | - { |
32 | | - return this.Control.GridLines; |
33 | | - } |
34 | | - set |
35 | | - { |
36 | | - this.Control.GridLines = value; |
37 | | - } |
38 | | - } |
39 | | - |
40 | | - [Parameter] |
41 | | - public int CellSpacing |
42 | | - { |
43 | | - get |
44 | | - { |
45 | | - return this.Control.CellSpacing; |
46 | | - } |
47 | | - set |
48 | | - { |
49 | | - this.Control.CellSpacing = value; |
50 | | - } |
51 | | - } |
52 | | - |
53 | | - [Parameter] |
54 | | - public int CellPadding |
55 | | - { |
56 | | - get |
57 | | - { |
58 | | - return this.Control.CellPadding; |
59 | | - } |
60 | | - set |
61 | | - { |
62 | | - this.Control.CellPadding = value; |
63 | | - } |
64 | | - } |
65 | | - |
66 | | - [Parameter] |
67 | | - public TableCaptionAlign CaptionAlign |
68 | | - { |
69 | | - get |
70 | | - { |
71 | | - return this.Control.CaptionAlign; |
72 | | - } |
73 | | - set |
74 | | - { |
75 | | - this.Control.CaptionAlign = value; |
76 | | - } |
77 | | - } |
78 | | - |
79 | | - [Parameter] |
80 | | - public string Caption |
81 | | - { |
82 | | - get |
83 | | - { |
84 | | - return this.Control.Caption; |
85 | | - } |
86 | | - set |
87 | | - { |
88 | | - this.Control.Caption = value; |
89 | | - } |
90 | | - } |
91 | | - |
92 | | - [Parameter] |
93 | | - public string BackImageUrl |
94 | | - { |
95 | | - get |
96 | | - { |
97 | | - return this.Control.BackImageUrl; |
98 | | - } |
99 | | - set |
100 | | - { |
101 | | - this.Control.BackImageUrl = value; |
102 | | - } |
103 | | - } |
104 | 13 | } |
0 commit comments