186 references to ControlStyle
System.Web (186)
UI\WebControls\AdRotator.cs (5)
332
ControlStyle
.CopyFrom(adRotator.
ControlStyle
);
806
bannerImage.ApplyStyle(
ControlStyle
);
833
bannerImage.
ControlStyle
.Width = adArgs.Width;
837
bannerImage.
ControlStyle
.Height = adArgs.Height;
UI\WebControls\BaseDataList.cs (8)
96
return ((TableStyle)
ControlStyle
).CellPadding;
99
((TableStyle)
ControlStyle
).CellPadding = value;
118
return ((TableStyle)
ControlStyle
).CellSpacing;
121
((TableStyle)
ControlStyle
).CellSpacing = value;
280
return ((TableStyle)
ControlStyle
).GridLines;
283
((TableStyle)
ControlStyle
).GridLines = value;
302
return ((TableStyle)
ControlStyle
).HorizontalAlign;
305
((TableStyle)
ControlStyle
).HorizontalAlign = value;
UI\WebControls\Calendar.cs (2)
1263
table.ApplyStyle(
ControlStyle
);
1272
(
ControlStyle
.IsSet(System.Web.UI.WebControls.Style.PROP_BORDERWIDTH) == false) ||
UI\WebControls\ChangePassword.cs (2)
2193
_changePasswordContainer.ApplyStyle(
ControlStyle
);
2204
_successContainer.ApplyStyle(
ControlStyle
);
UI\WebControls\CheckBox.cs (3)
415
ControlStyle
.CssClass = DisabledCssClass;
418
ControlStyle
.CssClass = DisabledCssClass + " " + CssClass;
426
Style controlStyle =
ControlStyle
;
UI\WebControls\CheckBoxList.cs (5)
65
return ((TableStyle)
ControlStyle
).CellPadding;
68
((TableStyle)
ControlStyle
).CellPadding = value;
89
return ((TableStyle)
ControlStyle
).CellSpacing;
92
((TableStyle)
ControlStyle
).CellSpacing = value;
275
Style style = (ControlStyleCreated ?
ControlStyle
: null);
UI\WebControls\CreateUserWizard.cs (3)
2892
createUserButton.
ControlStyle
.MergeWith(NavigationButtonStyle);
2903
previousButton.
ControlStyle
.MergeWith(NavigationButtonStyle);
2921
cancelButton.
ControlStyle
.MergeWith(NavigationButtonStyle);
UI\WebControls\DataControlLinkButton.cs (1)
82
if (
ControlStyle
.IsSet(System.Web.UI.WebControls.Style.PROP_FORECOLOR) == false) {
UI\WebControls\DataControlPagerLinkButton.cs (1)
39
if (
ControlStyle
.IsSet(System.Web.UI.WebControls.Style.PROP_FORECOLOR) == false) {
UI\WebControls\DataGrid.cs (6)
250
return ((TableStyle)
ControlStyle
).BackImageUrl;
253
((TableStyle)
ControlStyle
).BackImageUrl = value;
1456
((IStateManager)
ControlStyle
).LoadViewState(myState[9]);
1647
childTable.ApplyStyle(
ControlStyle
);
1843
object controlState = ControlStyleCreated ? ((IStateManager)
ControlStyle
).SaveViewState() : null;
1898
((IStateManager)
ControlStyle
).TrackViewState();
UI\WebControls\DataGridLinkButton.cs (1)
35
if (
ControlStyle
.IsSet(System.Web.UI.WebControls.Style.PROP_FORECOLOR) == false) {
UI\WebControls\DataList.cs (6)
288
return ((TableStyle)
ControlStyle
).GridLines;
1087
((IStateManager)
ControlStyle
).LoadViewState(myState[8]);
1344
Style style =
ControlStyle
;
1401
object controlState = ControlStyleCreated ? ((IStateManager)
ControlStyle
).SaveViewState() : null;
1442
((IStateManager)
ControlStyle
).TrackViewState();
1498
return item.
ControlStyle
;
UI\WebControls\DetailsView.cs (16)
342
return((TableStyle)
ControlStyle
).BackImageUrl;
345
((TableStyle)
ControlStyle
).BackImageUrl = value;
428
return((TableStyle)
ControlStyle
).CellPadding;
431
((TableStyle)
ControlStyle
).CellPadding = value;
450
return((TableStyle)
ControlStyle
).CellSpacing;
453
((TableStyle)
ControlStyle
).CellSpacing = value;
885
return((TableStyle)
ControlStyle
).GridLines;
888
((TableStyle)
ControlStyle
).GridLines = value;
987
return((TableStyle)
ControlStyle
).HorizontalAlign;
990
((TableStyle)
ControlStyle
).HorizontalAlign = value;
2921
((IStateManager)
ControlStyle
).LoadViewState(myState[13]);
3230
if (ControlStyleCreated && !
ControlStyle
.IsEmpty) {
3231
childTable.ApplyStyle(
ControlStyle
);
3336
webControl.
ControlStyle
.CopyFrom(fieldControlStyle);
3501
object controlState = ControlStyleCreated ? ((IStateManager)
ControlStyle
).SaveViewState() : null;
3564
((IStateManager)
ControlStyle
).TrackViewState();
UI\WebControls\FormView.cs (15)
192
return ((TableStyle)
ControlStyle
).BackImageUrl;
195
((TableStyle)
ControlStyle
).BackImageUrl = value;
275
return ((TableStyle)
ControlStyle
).CellPadding;
278
((TableStyle)
ControlStyle
).CellPadding = value;
297
return ((TableStyle)
ControlStyle
).CellSpacing;
300
((TableStyle)
ControlStyle
).CellSpacing = value;
682
return ((TableStyle)
ControlStyle
).GridLines;
685
((TableStyle)
ControlStyle
).GridLines = value;
784
return ((TableStyle)
ControlStyle
).HorizontalAlign;
787
((TableStyle)
ControlStyle
).HorizontalAlign = value;
2515
((IStateManager)
ControlStyle
).LoadViewState(myState[9]);
2776
if (ControlStyleCreated && !
ControlStyle
.IsEmpty) {
2777
childTable.ApplyStyle(
ControlStyle
);
2958
object controlState = ControlStyleCreated ? ((IStateManager)
ControlStyle
).SaveViewState() : null;
3010
((IStateManager)
ControlStyle
).TrackViewState();
UI\WebControls\GridView.cs (16)
394
return ((TableStyle)
ControlStyle
).BackImageUrl;
397
((TableStyle)
ControlStyle
).BackImageUrl = value;
476
return ((TableStyle)
ControlStyle
).CellPadding;
479
((TableStyle)
ControlStyle
).CellPadding = value;
497
return ((TableStyle)
ControlStyle
).CellSpacing;
500
((TableStyle)
ControlStyle
).CellSpacing = value;
873
return ((TableStyle)
ControlStyle
).GridLines;
876
((TableStyle)
ControlStyle
).GridLines = value;
929
return ((TableStyle)
ControlStyle
).HorizontalAlign;
932
((TableStyle)
ControlStyle
).HorizontalAlign = value;
3576
((IStateManager)
ControlStyle
).LoadViewState(myState[11]);
3957
if (controlStyleCreated && !
ControlStyle
.IsEmpty) {
3958
childTable.ApplyStyle(
ControlStyle
);
4101
webControl.
ControlStyle
.CopyFrom(fieldControlStyle);
4299
object controlState = ControlStyleCreated ? ((IStateManager)
ControlStyle
).SaveViewState() : null;
4414
((IStateManager)
ControlStyle
).TrackViewState();
UI\WebControls\login.cs (1)
1429
container.ApplyStyle(
ControlStyle
);
UI\WebControls\loginstatus.cs (1)
428
visibleControl.ApplyStyle(
ControlStyle
);
UI\WebControls\LoginUtil.cs (3)
369
LoginUtil.CopyBorderStyles(BorderTable,
ControlStyle
);
370
LoginUtil.CopyStyleToInnerControl(LayoutTable,
ControlStyle
);
425
table.ApplyStyle(
ControlStyle
);
UI\WebControls\Menu.cs (1)
2078
if (!
ControlStyle
.IsSet(System.Web.UI.WebControls.Style.PROP_FONT_UNDERLINE)) {
UI\WebControls\MenuRendererClassic.cs (2)
47
RegisterStyle(Menu.
ControlStyle
);
243
Menu.
ControlStyle
.CopyFrom(rootMenuStyle);
UI\WebControls\MenuRendererStandards.cs (2)
82
if (!Menu.
ControlStyle
.IsEmpty) {
84
menuStyle.CopyFrom(Menu.
ControlStyle
);
UI\WebControls\Panel.cs (10)
54
PanelStyle panelStyle =
ControlStyle
as PanelStyle;
62
PanelStyle panelStyle =
ControlStyle
as PanelStyle;
107
PanelStyle panelStyle =
ControlStyle
as PanelStyle;
115
PanelStyle panelStyle =
ControlStyle
as PanelStyle;
156
PanelStyle panelStyle =
ControlStyle
as PanelStyle;
164
PanelStyle panelStyle =
ControlStyle
as PanelStyle;
196
PanelStyle panelStyle =
ControlStyle
as PanelStyle;
204
PanelStyle panelStyle =
ControlStyle
as PanelStyle;
229
PanelStyle panelStyle =
ControlStyle
as PanelStyle;
237
PanelStyle panelStyle =
ControlStyle
as PanelStyle;
UI\WebControls\PasswordRecovery.cs (3)
1742
container.ApplyStyle(
ControlStyle
);
1975
container.ApplyStyle(
ControlStyle
);
2013
_userNameContainer.ApplyStyle(
ControlStyle
);
UI\WebControls\PopOutPanel.cs (1)
67
ControlStyle
.Reset();
UI\WebControls\RadioButtonList.cs (5)
51
return ((TableStyle)
ControlStyle
).CellPadding;
54
((TableStyle)
ControlStyle
).CellPadding = value;
73
return ((TableStyle)
ControlStyle
).CellSpacing;
76
((TableStyle)
ControlStyle
).CellSpacing = value;
321
Style style = (ControlStyleCreated ?
ControlStyle
: null);
UI\WebControls\Table.cs (10)
57
return((TableStyle)
ControlStyle
).BackImageUrl;
60
((TableStyle)
ControlStyle
).BackImageUrl = value;
117
return((TableStyle)
ControlStyle
).CellPadding;
120
((TableStyle)
ControlStyle
).CellPadding = value;
140
return((TableStyle)
ControlStyle
).CellSpacing;
143
((TableStyle)
ControlStyle
).CellSpacing = value;
162
return((TableStyle)
ControlStyle
).GridLines;
165
((TableStyle)
ControlStyle
).GridLines = value;
192
return((TableStyle)
ControlStyle
).HorizontalAlign;
195
((TableStyle)
ControlStyle
).HorizontalAlign = value;
UI\WebControls\TableCell.cs (6)
130
return ((TableItemStyle)
ControlStyle
).HorizontalAlign;
133
((TableItemStyle)
ControlStyle
).HorizontalAlign = value;
204
return ((TableItemStyle)
ControlStyle
).VerticalAlign;
207
((TableItemStyle)
ControlStyle
).VerticalAlign = value;
228
return ((TableItemStyle)
ControlStyle
).Wrap;
231
((TableItemStyle)
ControlStyle
).Wrap = value;
UI\WebControls\TableRow.cs (4)
73
return ((TableItemStyle)
ControlStyle
).HorizontalAlign;
76
((TableItemStyle)
ControlStyle
).HorizontalAlign = value;
127
return ((TableItemStyle)
ControlStyle
).VerticalAlign;
130
((TableItemStyle)
ControlStyle
).VerticalAlign = value;
UI\WebControls\TreeView.cs (1)
994
if (!
ControlStyle
.IsSet(System.Web.UI.WebControls.Style.PROP_FONT_UNDERLINE)) {
UI\WebControls\WebControl.cs (26)
151
return
ControlStyle
.BackColor;
154
ControlStyle
.BackColor = value;
173
return
ControlStyle
.BorderColor;
176
ControlStyle
.BorderColor = value;
194
return
ControlStyle
.BorderWidth;
197
ControlStyle
.BorderWidth = value;
215
return
ControlStyle
.BorderStyle;
218
ControlStyle
.BorderStyle = value;
277
return
ControlStyle
.CssClass;
280
ControlStyle
.CssClass = value;
368
return
ControlStyle
.Font;
388
return
ControlStyle
.ForeColor;
391
ControlStyle
.ForeColor = value;
422
return
ControlStyle
.Height;
425
ControlStyle
.Height = value;
575
return
ControlStyle
.Width;
578
ControlStyle
.Width = value;
606
ControlStyle
.CssClass = DisabledCssClass;
609
ControlStyle
.CssClass = DisabledCssClass + " " + CssClass;
631
if (ControlStyleCreated && !
ControlStyle
.IsEmpty) {
633
ControlStyle
.AddAttributesToRender(writer, this);
664
ControlStyle
.CopyFrom(s);
721
ControlStyle
.LoadViewState(null);
775
ControlStyle
.TrackViewState();
792
ControlStyle
.MergeWith(s);
842
ControlStyle
.SaveViewState();
UI\WebControls\Wizard.cs (14)
285
return ((TableStyle)
ControlStyle
).CellPadding;
288
((TableStyle)
ControlStyle
).CellPadding = value;
303
return ((TableStyle)
ControlStyle
).CellSpacing;
306
((TableStyle)
ControlStyle
).CellSpacing = value;
1706
((IStateManager)
ControlStyle
).LoadViewState(myState[13]);
2000
myState[13] = ControlStyleCreated ? ((IStateManager)
ControlStyle
).SaveViewState() : null;
2072
((IStateManager)
ControlStyle
).TrackViewState();
2651
_renderTable.ApplyStyle(Owner.
ControlStyle
);
2661
(!Owner.ControlStyleCreated || Owner.
ControlStyle
.Height == Unit.Empty)) {
2662
_renderTable.
ControlStyle
.Height = Unit.Pixel(1);
2669
_navigationTableCell.
ControlStyle
.Height = Unit.Pixel(1);
3283
if (ControlStyleCreated && !
ControlStyle
.IsEmpty) {
3285
ControlStyle
.AddAttributesToRender(writer, this);
3362
webCtrl.
ControlStyle
.MergeWith(Owner.NavigationButtonStyle);
UI\WebParts\AppearanceEditorPart.cs (2)
363
_value.ApplyStyle(
ControlStyle
);
368
_type.ApplyStyle(
ControlStyle
);
UI\WebParts\WebPartZoneBase.cs (3)
972
((IStateManager)
ControlStyle
).LoadViewState(myState[controlStyleIndex]);
1506
myState[controlStyleIndex] = ControlStyleCreated ? ((IStateManager)
ControlStyle
).SaveViewState() : null;
1568
((IStateManager)
ControlStyle
).TrackViewState();
UI\WebParts\WebZone.cs (1)
573
(!ControlStyleCreated ||
ControlStyle
.Height == Unit.Empty)) {