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

Defines the fluent API for configuring the Kendo UI Checkpoint

Definition

Namespace:Kendo.Mvc.UI.Fluent

Assembly:Kendo.Mvc.dll

Syntax:

C#
public class CheckpointBuilder : WidgetBuilderBase<Checkpoint, CheckpointBuilder>, IHtmlContent

Inheritance: objectHelperResultWidgetBuilderBase<Checkpoint, CheckpointBuilder>CheckpointBuilder

Implements: IHtmlContent

Inherited Members WidgetBuilderBase<Checkpoint, CheckpointBuilder>.ToComponent()WidgetBuilderBase<Checkpoint, CheckpointBuilder>.Expression(string)WidgetBuilderBase<Checkpoint, CheckpointBuilder>.Explorer(ModelExplorer)WidgetBuilderBase<Checkpoint, CheckpointBuilder>.Name(string)WidgetBuilderBase<Checkpoint, CheckpointBuilder>.Deferred(bool)WidgetBuilderBase<Checkpoint, CheckpointBuilder>.HtmlAttributes(object)WidgetBuilderBase<Checkpoint, CheckpointBuilder>.HtmlAttributes(IDictionary<string, object>)WidgetBuilderBase<Checkpoint, CheckpointBuilder>.ScriptAttributes(object, bool)WidgetBuilderBase<Checkpoint, CheckpointBuilder>.ScriptAttributes(IDictionary<string, object>, bool)WidgetBuilderBase<Checkpoint, CheckpointBuilder>.Render()WidgetBuilderBase<Checkpoint, CheckpointBuilder>.ToHtmlString()WidgetBuilderBase<Checkpoint, CheckpointBuilder>.WriteTo(TextWriter, HtmlEncoder)WidgetBuilderBase<Checkpoint, CheckpointBuilder>.ToClientTemplate()WidgetBuilderBase<Checkpoint, CheckpointBuilder>.AsModule(bool)WidgetBuilderBase<Checkpoint, CheckpointBuilder>.ComponentWidgetBuilderBase<Checkpoint, CheckpointBuilder>.ContainerHelperResult.WriteTo(TextWriter, HtmlEncoder)HelperResult.WriteActionobject.GetType()object.MemberwiseClone()object.ToString()object.Equals(object)object.Equals(object, object)object.ReferenceEquals(object, object)object.GetHashCode()...

Constructors

Initializes a new instance of the CheckpointBuilder class.

C#
public CheckpointBuilder(Checkpoint component)
Parameters:componentCheckpoint

Methods

Controls when the checkpoint button is visible.

C#
public CheckpointBuilder DisplayMode(CheckpointDisplayMode value)
Parameters:valueCheckpointDisplayMode

The value for DisplayMode

Returns:

CheckpointBuilder

Returns the current CheckpointBuilder instance.

Configures the client-side events.

C#
public CheckpointBuilder Events(Action<CheckpointEventBuilder> configurator)
Parameters:configuratorAction<CheckpointEventBuilder>

The client events action.

Returns:

CheckpointBuilder

Returns the current CheckpointBuilder instance.

Example:
C#
@(Html.Kendo().Checkpoint()
.Name("Checkpoint")
.Events(events =&gt; events
.Action("onAction")
)
)

Contains the localizable text strings used by the widget.

C#
public CheckpointBuilder Messages(Action<CheckpointMessagesSettingsBuilder> configurator)
Parameters:configuratorAction<CheckpointMessagesSettingsBuilder>

The CheckpointMessagesSettingsBuilder for the messages setting.

Returns:

CheckpointBuilder

Returns the current instance of CheckpointBuilder .

The current action state of the checkpoint.

C#
public CheckpointBuilder State(CheckpointState value)
Parameters:valueCheckpointState

The value for State

Returns:

CheckpointBuilder

Returns the current CheckpointBuilder instance.

A function used to render the entire checkpoint body, replacing the default button layout. Called with an empty object and must return an HTML string.

C#
public CheckpointBuilder Template<TModel>(TemplateBuilder<TModel> template)
Parameters:templateTemplateBuilder<TModel>

A Template component that configures the template.

Returns:

CheckpointBuilder

Returns the current CheckpointBuilder instance.

A function used to render the entire checkpoint body, replacing the default button layout. Called with an empty object and must return an HTML string.

C#
public CheckpointBuilder TemplateHandler(string templateHandler)
Parameters:templateHandlerstring

The handler that returs the template for Template

Returns:

CheckpointBuilder

Returns the current CheckpointBuilder instance.