DialogActionBuilder

Methods

Text(System.String)

The text to be shown in the action's button.

Parameters

value - System.String

The value for Text

RETURNS

Returns the current DialogActionBuilder instance.

Action(System.String)

The callback function to be called after pressing the action button.

Parameters

handler - System.String

The name of the JavaScript function that will be evaluated.

RETURNS

Returns the current DialogActionBuilder instance.

Action(System.Func)

The callback function to be called after pressing the action button.

Parameters

handler - System.Func<Object,Object>

The handler code wrapped in a text tag.

RETURNS

Returns the current DialogActionBuilder instance.

Primary(System.Boolean)

A boolean property indicating whether the action button will be decorated as primary button or not.

Parameters

value - System.Boolean

The value for Primary

RETURNS

Returns the current DialogActionBuilder instance.

CssClass(System.String)

Adds a custom class to the action button.

Parameters

value - System.String

The value for CssClass

RETURNS

Returns the current DialogActionBuilder instance.