SizeHelper.GetIsEmpty(Size) Method

Definition

Returns whether a specified Size is equivalent to an Empty Size. C# and Microsoft Visual Basic code should use Size.IsEmpty instead.

Equivalent WinUI method: Microsoft.UI.Xaml.SizeHelper.GetIsEmpty.

public:
 static bool GetIsEmpty(Size target);
 static bool GetIsEmpty(Size target);
public static bool GetIsEmpty(Size target);
function getIsEmpty(target)
Public Shared Function GetIsEmpty (target As Size) As Boolean

Parameters

target
Size

The Size to evaluate.

Returns

Boolean

true if the specified Size is equivalent to an Empty Size; otherwise, false.

Applies to