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 值之一,指定按钮的可视状态。

返回

如果按钮的背景有半透明部分或 Alpha 混合部分,则为 true;否则为 false

适用于