Share via


Brush.IsNullOrEmpty(Brush) 方法

定義

指出指定的 Brushnull 或空白。

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 否則。

適用於