57 references to Empty
System.Web (57)
UI\ObjectStateFormatter.cs (1)
612
return Unit.
Empty
;
UI\WebControls\Calendar.cs (3)
856
if (titleStyle.BorderWidth != Unit.
Empty
) {
862
if (titleStyle.Height != Unit.
Empty
) {
1273
BorderWidth.Equals(Unit.
Empty
)) {
UI\WebControls\FontUnit.cs (3)
101
value = Unit.
Empty
;
116
this.value = Unit.
Empty
;
156
this.value = Unit.
Empty
;
UI\WebControls\HyperLink.cs (4)
87
return Unit.
Empty
;
105
return Unit.
Empty
;
275
if (ImageHeight != Unit.
Empty
) {
278
if (ImageWidth != Unit.
Empty
) {
UI\WebControls\LoginUtil.cs (3)
459
if (control.BorderWidth != Unit.
Empty
) {
471
if (control.Height != Unit.
Empty
) {
474
if (control.Width != Unit.
Empty
) {
UI\WebControls\Menu.cs (1)
1142
return Unit.
Empty
;
UI\WebControls\MenuItemStyle.cs (3)
45
return Unit.
Empty
;
81
return Unit.
Empty
;
107
return Unit.
Empty
;
UI\WebControls\Style.cs (12)
160
return Unit.
Empty
;
286
return Unit.
Empty
;
378
return Unit.
Empty
;
486
if (s.IsSet(PROP_BORDERWIDTH) && (s.BorderWidth != Unit.
Empty
)) {
494
if (s.IsSet(PROP_HEIGHT) && (s.Height != Unit.
Empty
)) {
498
if (s.IsSet(PROP_WIDTH) && (s.Width != Unit.
Empty
)) {
510
if (s.IsSet(PROP_BORDERWIDTH) && (s.BorderWidth != Unit.
Empty
))
514
if (s.IsSet(PROP_HEIGHT) && (s.Height != Unit.
Empty
))
516
if (s.IsSet(PROP_WIDTH) && (s.Width != Unit.
Empty
))
748
if (s.IsSet(PROP_BORDERWIDTH) && (!this.IsSet(PROP_BORDERWIDTH) || (BorderWidth == Unit.
Empty
)))
752
if (s.IsSet(PROP_HEIGHT) && (!this.IsSet(PROP_HEIGHT) || (Height == Unit.
Empty
)))
754
if (s.IsSet(PROP_WIDTH) && (!this.IsSet(PROP_WIDTH) || (Width == Unit.
Empty
)))
UI\WebControls\SubMenuStyle.cs (2)
41
return Unit.
Empty
;
67
return Unit.
Empty
;
UI\WebControls\TreeNodeStyle.cs (4)
47
return Unit.
Empty
;
72
return Unit.
Empty
;
129
return Unit.
Empty
;
154
return Unit.
Empty
;
UI\WebControls\unitconverter.cs (1)
63
return Unit.
Empty
;
UI\WebControls\WebControl.cs (3)
192
return Unit.
Empty
;
420
return Unit.
Empty
;
573
return Unit.
Empty
;
UI\WebControls\Wizard.cs (3)
2661
(!Owner.ControlStyleCreated || Owner.ControlStyle.Height == Unit.
Empty
)) {
2682
if (!Owner.DesignMode && Owner.IsMacIE5 && Owner._navigationStyle.Height == Unit.
Empty
) {
2701
if (!Owner.DesignMode && Owner.IsMacIE5 && Owner._stepStyle.Height == Unit.
Empty
) {
UI\WebParts\AppearanceEditorPart.cs (3)
99
Unit height = Unit.
Empty
;
131
Unit width = Unit.
Empty
;
319
if (value == Unit.
Empty
) {
UI\WebParts\CatalogPartChrome.cs (3)
57
if (style.BorderWidth == Unit.
Empty
) {
76
if (style.BorderWidth != Unit.
Empty
) {
77
style.BorderWidth = Unit.
Empty
;
UI\WebParts\EditorPartChrome.cs (2)
65
if (style.BorderWidth != Unit.
Empty
) {
66
style.BorderWidth = Unit.
Empty
;
UI\WebParts\WebPartChrome.cs (3)
102
if (style.BorderWidth != Unit.
Empty
) {
103
style.BorderWidth = Unit.
Empty
;
117
if (style.BorderWidth == Unit.
Empty
) {
UI\WebParts\WebPartZoneBase.cs (2)
1185
BorderWidth = Unit.
Empty
;
1201
if (_borderColor != Color.Empty || _borderStyle != BorderStyle.NotSet || _borderWidth != Unit.
Empty
) {
UI\WebParts\WebZone.cs (1)
573
(!ControlStyleCreated || ControlStyle.Height == Unit.
Empty
)) {