Class InertButton
A lightweight, non-selectable image button drawn from an ImageList,
supporting hot-track and pushed states with a flat/popup border, used for the tab
control's close, drop-down, and scroll-arrow buttons.
Assembly: Reportman.Drawing.Forms.dll
[ToolboxBitmap(typeof(InertButton))]
public class InertButton : Control, IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable
Constructors
View Source
Declaration
View Source
Declaration
public InertButton(ImageList imageList, int imageIndexEnabled)
Parameters
| Type |
Name |
Description |
| ImageList |
imageList |
|
| int |
imageIndexEnabled |
|
View Source
Declaration
public InertButton(ImageList imageList, int imageIndexEnabled, int imageIndexDisabled)
Parameters
| Type |
Name |
Description |
| ImageList |
imageList |
|
| int |
imageIndexEnabled |
|
| int |
imageIndexDisabled |
|
View Source
Declaration
public InertButton(ImageList imageList, int imageIndexEnabled, int imageIndexDisabled, ImageAttributes imageAttr)
Parameters
Fields
View Source
Declaration
protected int _borderWidth
Field Value
View Source
Declaration
protected ImageAttributes _imageAttr
Field Value
View Source
Declaration
protected int _imageIndexDisabled
Field Value
View Source
Declaration
protected int _imageIndexEnabled
Field Value
View Source
Declaration
protected ImageList _imageList
Field Value
View Source
Declaration
protected MouseButtons _mouseButton
Field Value
View Source
Declaration
protected bool _mouseCapture
Field Value
View Source
Declaration
protected bool _mouseOver
Field Value
View Source
Declaration
protected bool _popupStyle
Field Value
Properties
View Source
Declaration
public int BorderWidth { get; set; }
Property Value
View Source
Declaration
public ImageAttributes ImageAttributes { get; set; }
Property Value
View Source
Declaration
public int ImageIndexDisabled { get; set; }
Property Value
View Source
Declaration
public int ImageIndexEnabled { get; set; }
Property Value
View Source
Declaration
public ImageList ImageList { get; set; }
Property Value
View Source
Declaration
public bool PopupStyle { get; set; }
Property Value
Methods
View Source
Declaration
public void InternalConstruct(ImageList imageList, int imageIndexEnabled, int imageIndexDisabled, ImageAttributes imageAttr)
Parameters
View Source
Declaration
protected override void OnMouseDown(MouseEventArgs e)
Parameters
Overrides
View Source
Declaration
protected override void OnMouseEnter(EventArgs e)
Parameters
Overrides
View Source
Declaration
protected override void OnMouseLeave(EventArgs e)
Parameters
Overrides
View Source
Declaration
protected override void OnMouseMove(MouseEventArgs e)
Parameters
Overrides
View Source
Declaration
protected override void OnMouseUp(MouseEventArgs e)
Parameters
Overrides
View Source
Declaration
protected override void OnPaint(PaintEventArgs e)
Parameters
Overrides
View Source
Declaration
protected override void SetBoundsCore(int x, int y, int width, int height, BoundsSpecified specified)
Parameters
Overrides
Implements