Table of Contents

Class SwitchNamedComponentCellProps

Namespace
Kentico.Xperience.Admin.Base
Assembly
Kentico.Xperience.Admin.Base.dll

Properties of the SWITCH_COMPONENT front-end component.

public class SwitchNamedComponentCellProps
Inheritance
object
SwitchNamedComponentCellProps
Extension Methods

Properties

Disabled

Gets or sets whether the component should be disabled.

public bool Disabled { get; set; }

Property Value

bool

ItemId

ID of the object the enabled property of which this switch cell represents.

public int ItemId { get; set; }

Property Value

int

TurnOffPageCommandName

Name of the page command method the onChange event of the switch component invokes when its state goes from on to off.

public string TurnOffPageCommandName { get; set; }

Property Value

string

TurnOnPageCommandName

Name of the page command method the onChange event of the switch component invokes when its state goes from off to on.

public string TurnOnPageCommandName { get; set; }

Property Value

string

Value

Value of the switch (true means on, false means off).

public bool Value { get; set; }

Property Value

bool