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