Share via


Brush.IsNullOrEmpty(Brush) 方法

定义

指示指定的 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 否则。

适用于