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