ButtonRenderer.IsBackgroundPartiallyTransparent Method (PushButtonState)

 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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

Namespace:   System.Windows.Forms
Assembly:  System.Windows.Forms (in System.Windows.Forms.dll)

public static bool IsBackgroundPartiallyTransparent(
	PushButtonState state
)

Parameters

state
Type: System.Windows.Forms.VisualStyles.PushButtonState

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

Return Value

Type: System.Boolean

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

.NET Framework
Available since 2.0
Return to top
Show: