Class jSwitch
- Namespace
- ComfileTech.jControls
- Assembly
- ComfileTech.jControls.dll
A sliding switch that can toggle between an on and off state
[Browsable(true)]
[ToolboxBitmap(typeof(jSwitch), "Icons.jSwitch.bmp")]
public class jSwitch : jGroupOnOffControl<SwitchAppearance>, ISynchronizeInvoke, IWin32Window, IBindableComponent, IDropTarget, IComponent, IDisposable, IjControl, ISupportInitialize
- Inheritance
-
jSwitch
- Implements
- Inherited Members
Constructors
- jSwitch()
Instantiates a new instance of this control with default values.
Properties
- CornerRadii
The radii for rounding each of the 4 corners of the control.
- DefaultSize
Gets the default size of the control.
- 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.
- Shape
The general shape of the control.
- TextAlignment
Gets or sets the alignment of text.
Methods
- OnIsOnChanged(EventArgs)
Fires the IsOnChanged event.
Events
- IsOnChanged
Fired when IsOn changes.