New to Telerik UI for ASP.NET Core? Start a free 30-day trial

Defines the fluent API for configuring WizardStepButton

Definition

Namespace:Kendo.Mvc.UI.Fluent

Assembly:Kendo.Mvc.dll

Syntax:

C#
public class WizardStepButtonBuilder

Inheritance: objectWizardStepButtonBuilder

Inherited Members object.GetType()object.MemberwiseClone()object.ToString()object.Equals(object)object.Equals(object, object)object.ReferenceEquals(object, object)object.GetHashCode()...

Constructors

WizardStepButtonBuilder method.

C#
public WizardStepButtonBuilder(WizardStepButton container)
Parameters:containerWizardStepButton

Properties

Gets the settings being configured.

C#
protected WizardStepButton Container { get; }

Methods

A click handler that defines the logic to be executed upon button click.

C#
public WizardStepButtonBuilder Click(Func<object, object> handler)
Parameters:handlerFunc<object, object>

The handler code wrapped in a text tag.

Returns:

WizardStepButtonBuilder

A click handler that defines the logic to be executed upon button click.

C#
public WizardStepButtonBuilder Click(string handler)
Parameters:handlerstring

The name of the JavaScript function that will be evaluated.

Returns:

WizardStepButtonBuilder

Specifies whether the Button in question is enabled or not.

C#
public WizardStepButtonBuilder Enabled(bool value)
Parameters:valuebool

The value for Enabled

Returns:

WizardStepButtonBuilder

Specifies the name of the Button. The default buttons have "reserved" names (those names are "previous", "next", "done", "reset"). That would allow additional customization of that Buttons' text and behavior.

C#
public WizardStepButtonBuilder Name(string value)
Parameters:valuestring

The value for Name

Returns:

WizardStepButtonBuilder

Specifies whether the Button will have the k-primary class assigned or not.

C#
public WizardStepButtonBuilder Primary()
Returns:

WizardStepButtonBuilder

Specifies whether the Button will have the k-primary class assigned or not.

C#
public WizardStepButtonBuilder Primary(bool value)
Parameters:valuebool

The value for Primary

Returns:

WizardStepButtonBuilder

Specifies the text to be displayed in the Button.

C#
public WizardStepButtonBuilder Text(string value)
Parameters:valuestring

The value for Text

Returns:

WizardStepButtonBuilder