49 references to IsEmpty
System.Web (49)
UI\ObjectStateFormatter.cs (1)
1152
if (uval.
IsEmpty
) {
UI\WebControls\Adapters\MenuAdapter.cs (2)
333
if ((mergedStyle != null) && !mergedStyle.ItemSpacing.
IsEmpty
&&
523
if ((mergedStyle != null) && !mergedStyle.ItemSpacing.
IsEmpty
) {
UI\WebControls\FontUnit.cs (1)
111
if (value.
IsEmpty
== false) {
UI\WebControls\Image.cs (1)
259
if (BorderWidth.
IsEmpty
&& (RenderingCompatibility < VersionUtil.Framework40)) {
UI\WebControls\MenuItem.cs (4)
829
if ((mergedStyle != null) && !mergedStyle.ItemSpacing.
IsEmpty
&& ((depth != 0) || (position != 0))) {
970
if (indent.
IsEmpty
) {
1015
((mergedStyle == null) || mergedStyle.ItemSpacing.
IsEmpty
)) {
1082
if ((mergedStyle != null) && !mergedStyle.ItemSpacing.
IsEmpty
) {
UI\WebControls\MenuItemStyle.cs (7)
185
if (!bu.
IsEmpty
) {
207
if (!u.
IsEmpty
) {
215
if (!u.
IsEmpty
) {
220
if (!HorizontalPadding.
IsEmpty
|| !VerticalPadding.
IsEmpty
) {
222
Unit verticalPadding = VerticalPadding.
IsEmpty
? Unit.Pixel(0) : VerticalPadding;
223
Unit horizontalPadding = HorizontalPadding.
IsEmpty
? Unit.Pixel(0) : HorizontalPadding;
UI\WebControls\MenuRendererStandards.cs (3)
157
((Menu._staticItemStyle == null) || (Menu._staticItemStyle.HorizontalPadding.
IsEmpty
))) {
204
if (indent.
IsEmpty
&& Menu.Orientation == Orientation.Vertical) {
208
if (!indent.
IsEmpty
&& indent.Value != 0) {
UI\WebControls\Style.cs (3)
554
if (!bu.
IsEmpty
) {
632
if (!u.
IsEmpty
) {
640
if (!u.
IsEmpty
) {
UI\WebControls\SubMenuStyle.cs (7)
141
if (!bu.
IsEmpty
) {
163
if (!u.
IsEmpty
) {
171
if (!u.
IsEmpty
) {
176
if (!HorizontalPadding.
IsEmpty
|| !VerticalPadding.
IsEmpty
) {
179
VerticalPadding.
IsEmpty
? Unit.Pixel(0) : VerticalPadding,
180
HorizontalPadding.
IsEmpty
? Unit.Pixel(0) : HorizontalPadding));
UI\WebControls\Table.cs (1)
248
if (borderWidth.
IsEmpty
|| borderWidth.Type != UnitType.Pixel) {
UI\WebControls\TreeNode.cs (4)
909
if ((mergedStyle != null) && !mergedStyle.NodeSpacing.
IsEmpty
&& ((depth != 0) || (position != 0))) {
1495
if ((mergedStyle != null) && !mergedStyle.NodeSpacing.
IsEmpty
) {
1543
if (!mergedStyle.ChildNodesPadding.
IsEmpty
) {
1560
if (!isLast[depth] && !mergedStyle.ChildNodesPadding.
IsEmpty
) {
UI\WebControls\TreeNodeStyle.cs (7)
239
if (!bu.
IsEmpty
) {
261
if (!u.
IsEmpty
) {
269
if (!u.
IsEmpty
) {
274
if (!HorizontalPadding.
IsEmpty
|| !VerticalPadding.
IsEmpty
) {
277
VerticalPadding.
IsEmpty
? Unit.Pixel(0) : VerticalPadding,
278
HorizontalPadding.
IsEmpty
? Unit.Pixel(0) : HorizontalPadding));
UI\WebControls\Unit.cs (2)
166
if (!
IsEmpty
) {
361
if (
IsEmpty
)
UI\WebControls\unitconverter.cs (2)
84
if ((value == null) || ((Unit)value).
IsEmpty
)
94
if (u.
IsEmpty
) {
UI\WebControls\WebControl.cs (3)
650
(BorderStyle != BorderStyle.NotSet || !BorderWidth.
IsEmpty
|| !Height.
IsEmpty
|| !Width.
IsEmpty
)) {
UI\WebParts\WebPartMenu.cs (1)
206
popupSpansFullExtent = menuStyle.Width.
IsEmpty
;