The requested page is not available for the requested platform. You are viewing the content for Default platform.

SwitchBuilder Members

This class is a Razor helper that wraps the DevExtreme Switch widget.

Constructors

Name Description
SwitchBuilder(OptionsOwnerContext)

Initializes a new SwitchBuilder class instance.

Methods

Name Description
AccessKey(JS)

This method sets the client-side accessKey option.

AccessKey(String)

This method sets the client-side accessKey option.

ActiveStateEnabled(Boolean)

This method sets the client-side activeStateEnabled option.

ActiveStateEnabled(JS)

This method sets the client-side activeStateEnabled option.

Disabled(Boolean)

This method sets the client-side disabled option.

Disabled(JS)

This method sets the client-side disabled option.

ElementAttr(Dictionary<String, Object>)

This method sets the client-side elementAttr option.

ElementAttr(JS)

This method sets the client-side elementAttr option.

ElementAttr(Object)

This method sets the client-side elementAttr option.

ElementAttr(String, Object)

This method sets the client-side elementAttr option.

Equals(Object) Determines whether the specified object is equal to the current object.
(Inherited from Object)
Equals(Object, Object) static Determines whether the specified object instances are considered equal.
(Inherited from Object)
FocusStateEnabled(Boolean)

This method sets the client-side focusStateEnabled option.

FocusStateEnabled(JS)

This method sets the client-side focusStateEnabled option.

GetHashCode() Serves as the default hash function.
(Inherited from Object)
GetType() Gets the Type of the current instance.
(Inherited from Object)
Height(Double)

This method sets the client-side height option.

Height(JS)

This method sets the client-side height option.

Height(String)

This method sets the client-side height option.

Hint(JS)

This method sets the client-side hint option.

Hint(String)

This method sets the client-side hint option.

HoverStateEnabled(Boolean)

This method sets the client-side hoverStateEnabled option.

HoverStateEnabled(JS)

This method sets the client-side hoverStateEnabled option.

ID(JS)

Specifies a JS expression calculating an HTML id for the root element of the widget defined within a template.

ID(String)

Specifies an HTML id for the widget's root element.

IsValid(Boolean)

This method sets the client-side isValid option.

IsValid(JS)

This method sets the client-side isValid option.

MemberwiseClone() Creates a shallow copy of the current Object.
(Inherited from Object)
Name(JS)

This method sets the client-side name option.

Name(String)

This method sets the client-side name option.

OffText(JS)

Obsolete. This method sets the client-side offText option.

OffText(String)

Obsolete. This method sets the client-side offText option.

OnContentReady(RazorBlock)

This method sets the client-side onContentReady option.

OnContentReady(String)

This method sets the client-side onContentReady option.

OnDisposing(RazorBlock)

This method sets the client-side onDisposing option.

OnDisposing(String)

This method sets the client-side onDisposing option.

OnInitialized(RazorBlock)

This method sets the client-side onInitialized option.

OnInitialized(String)

This method sets the client-side onInitialized option.

OnOptionChanged(RazorBlock)

This method sets the client-side onOptionChanged option.

OnOptionChanged(String)

This method sets the client-side onOptionChanged option.

OnText(JS)

Obsolete. This method sets the client-side onText option.

OnText(String)

Obsolete. This method sets the client-side onText option.

OnValueChanged(RazorBlock)

This method sets the client-side onValueChanged option.

OnValueChanged(String)

This method sets the client-side onValueChanged option.

Option(String, Object)

Specifies an option by its name.

ReadOnly(Boolean)

This method sets the client-side readOnly option.

ReadOnly(JS)

This method sets the client-side readOnly option.

ReferenceEquals(Object, Object) static Determines whether the specified Object instances are the same instance.
(Inherited from Object)
Render()
(Inherited from WidgetBuilder)
RtlEnabled(Boolean)

This method sets the client-side rtlEnabled option.

RtlEnabled(JS)

This method sets the client-side rtlEnabled option.

SwitchedOffText(JS)

This method sets the client-side switchedOffText option.

SwitchedOffText(String)

This method sets the client-side switchedOffText option.

SwitchedOnText(JS)

This method sets the client-side switchedOnText option.

SwitchedOnText(String)

This method sets the client-side switchedOnText option.

TabIndex(Int32)

This method sets the client-side tabIndex option.

TabIndex(JS)

This method sets the client-side tabIndex option.

ToString()
(Inherited from WidgetBuilder)
ToTemplate()

Renders the control as a template string for use in another control's template.

(Inherited from WidgetBuilder)
ValidationError(Object)

This method sets the client-side validationError option.

ValidationMessageMode(ValidationMessageMode)

This method sets the client-side validationMessageMode option.

Value(JS)

This method sets the client-side value option.

Value(Nullable<Boolean>)

This method sets the client-side value option.

Visible(Boolean)

This method sets the client-side visible option.

Visible(JS)

This method sets the client-side visible option.

Width(Double)

This method sets the client-side width option.

Width(JS)

This method sets the client-side width option.

Width(String)

This method sets the client-side width option.

See Also