Class jOnOffControl<TAppearance>
- Namespace
- ComfileTech.jControlsNF4
- Assembly
- ComfileTech.jControlsNF4.dll
A base class for controls that have a different appearance for its on and off states.
public abstract class jOnOffControl<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>jOnOffControl<TAppearance>
- Implements
- Derived
- Inherited Members
Properties
- IsOn
Whether or not this control is in the "on" state.
- OffAppearance
The appearance of the control when IsOn is false.
- OnAppearance
The appearance of the control when IsOn is true.
Methods
- OnIsOnChanged(EventArgs)
Fires the IsOnChanged event.
Events
- IsOnChanged
Fired when IsOn changes.