ButtonRenderer.IsBackgroundPartiallyTransparent(PushButtonState) Method

Definition

Indicates whether the background of the button has semitransparent or alpha-blended pieces.

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

Parameters

state
PushButtonState

One of the PushButtonState values that specifies the visual state of the button.

Returns

true if the background of the button has semitransparent or alpha-blended pieces; otherwise, false.

Applies to