Table of Contents

Class JJCheckBox

Namespace
JJMasterData.Core.UI.Components
Assembly
JJMasterData.Core.dll
public class JJCheckBox : ControlBase
Inheritance
JJCheckBox
Inherited Members

Constructors

JJCheckBox(IFormValues, IStringLocalizer<MasterDataResources>)

public JJCheckBox(IFormValues formValues, IStringLocalizer<MasterDataResources> stringLocalizer)

Parameters

formValues IFormValues
stringLocalizer IStringLocalizer<MasterDataResources>

Properties

IsChecked

public bool IsChecked { get; set; }

Property Value

bool

IsSwitch

public bool IsSwitch { get; set; }

Property Value

bool

SwitchSize

public CheckBoxSwitchSize? SwitchSize { get; set; }

Property Value

CheckBoxSwitchSize?

Text

public string Text { get; set; }

Property Value

string

Value

public string Value { get; set; }

Property Value

string

Remarks

Default: "true"

Methods

BuildResultAsync()

protected override ValueTask<ComponentResult> BuildResultAsync()

Returns

ValueTask<ComponentResult>

GetHtmlBuilder()

public HtmlBuilder GetHtmlBuilder()

Returns

HtmlBuilder