Table of Contents

Class jSwitch

Namespace
ComfileTech.jControlsNF4
Assembly
ComfileTech.jControlsNF4.dll

A sliding switch that can toggle between an on and off state

[Browsable(true)]
[ToolboxBitmap(typeof(jSwitch), "ComfileTech.jControlsNF4.Icons.jSwitch.bmp")]
public class jSwitch : jGroupOnOffControl<SwitchAppearance>, IDropTarget, ISynchronizeInvoke, IWin32Window, IBindableComponent, 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.