Table of Contents

Class jBaseButton<TAppearance>

Namespace
ComfileTech.jControlsNF4
Assembly
ComfileTech.jControlsNF4.dll

A class encapsulating common behavior for button controls.

public abstract class jBaseButton<TAppearance> : jBaseOnOffControl<TAppearance>, IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, IComponent, IDisposable, IjControl, ISupportInitialize where TAppearance : IAppearance<TAppearance>, new()

Type Parameters

TAppearance

The type to use for the control's appearance.

Inheritance
jBaseOnOffControl<TAppearance>
jBaseButton<TAppearance>
Implements
Derived
Inherited Members

Constructors

jBaseButton()

Instantiates an instance of this class with default values.

Properties

IsPressed

Whether or not this control is in the pressed state.

Latch

Whether or not to latch when pressed, mimicking a toggle button rather than a push button.

PressedAppearance

The appearance of the control when IsPressed is true.

ReleasedAppearance

The appearance of the control when IsPressed is false.

Methods

OnIsPressedChanged(EventArgs)

Fires the IsPressedChanged event.

Events

IsPressedChanged

Fired when IsPressed changes.