ButtonRenderer.IsBackgroundPartiallyTransparent(PushButtonState) 方法

定义

指示按钮的背景是半透明还是 alpha 混合件。

public:
 static bool IsBackgroundPartiallyTransparent(System::Windows::Forms::VisualStyles::PushButtonState state);
public static bool IsBackgroundPartiallyTransparent(System.Windows.Forms.VisualStyles.PushButtonState state);
static member IsBackgroundPartiallyTransparent : System.Windows.Forms.VisualStyles.PushButtonState -> bool
Public Shared Function IsBackgroundPartiallyTransparent (state As PushButtonState) As Boolean

参数

state
PushButtonState

PushButtonState指定按钮视觉状态的值之一。

返回

true 如果按钮的背景具有半透明或 alpha 混合件,则为 ;否则,为 false.

适用于