IsEmpty

Dimensions.IsEmpty property

确定此“尺寸”实例是否为空且默认,即它未存储正确的宽度和高度

public bool IsEmpty { get; }

也可以看看