ButtonRenderer.IsBackgroundPartiallyTransparent(PushButtonState) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
指示按钮的背景是半透明还是 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.