25 references to PushButtonState
System.Windows.Forms (25)
winforms\Managed\System\WinForms\ButtonInternal\ButtonStandardAdapter.cs (8)
31
private
PushButtonState
DetermineState(bool up) {
32
PushButtonState
state =
PushButtonState
.Normal;
35
state =
PushButtonState
.Pressed;
38
state =
PushButtonState
.Hot;
41
state =
PushButtonState
.Disabled;
44
state =
PushButtonState
.Default;
63
PushButtonState
pbState = DetermineState(up);
winforms\Managed\System\WinForms\ButtonRenderer.cs (12)
63
public static bool IsBackgroundPartiallyTransparent(
PushButtonState
state) {
95
public static void DrawButton(Graphics g, Rectangle bounds,
PushButtonState
state) {
114
internal static void DrawButtonForHandle(Graphics g, Rectangle bounds, bool focused,
PushButtonState
state, IntPtr handle) {
139
public static void DrawButton(Graphics g, Rectangle bounds, bool focused,
PushButtonState
state) {
149
public static void DrawButton(Graphics g, Rectangle bounds, string buttonText, Font font, bool focused,
PushButtonState
state) {
162
public static void DrawButton(Graphics g, Rectangle bounds, string buttonText, Font font, TextFormatFlags flags, bool focused,
PushButtonState
state) {
192
public static void DrawButton(Graphics g, Rectangle bounds, Image image, Rectangle imageBounds, bool focused,
PushButtonState
state) {
219
public static void DrawButton(Graphics g, Rectangle bounds, string buttonText, Font font, Image image, Rectangle imageBounds, bool focused,
PushButtonState
state) {
231
public static void DrawButton(Graphics g, Rectangle bounds, string buttonText, Font font, TextFormatFlags flags, Image image, Rectangle imageBounds, bool focused,
PushButtonState
state) {
257
internal static ButtonState ConvertToButtonState(
PushButtonState
state) {
260
case
PushButtonState
.Pressed:
262
case
PushButtonState
.Disabled:
winforms\Managed\System\WinForms\DataGridViewButtonCell.cs (5)
765
VisualStyles.
PushButtonState
pbState = VisualStyles.
PushButtonState
.Normal;
768
pbState = VisualStyles.
PushButtonState
.Pressed;
774
pbState = VisualStyles.
PushButtonState
.Hot;
781
pbState |= VisualStyles.
PushButtonState
.Default;