Brush.IsNullOrEmpty(Brush) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
指示指定的 Brush 是还是 null
空。
public:
static bool IsNullOrEmpty(Microsoft::Maui::Controls::Brush ^ brush);
public static bool IsNullOrEmpty (Microsoft.Maui.Controls.Brush brush);
static member IsNullOrEmpty : Microsoft.Maui.Controls.Brush -> bool
Public Shared Function IsNullOrEmpty (brush As Brush) As Boolean
参数
- brush
- Brush
返回
true
如果画笔为 null 或为空,则为 ; false
否则。