ActionSheetBuilder
Defines the fluent API for configuring the Kendo ActionSheet for ASP.NET MVC.
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
public class ActionSheetBuilder : WidgetBuilderBase<ActionSheet, ActionSheetBuilder>, IHtmlString
Inheritance: objectWidgetBuilderBase<ActionSheet, ActionSheetBuilder>ActionSheetBuilder
Implements:
Inherited Members
Constructors
Initializes a new instance of the ActionSheet class.
Methods
A JavaScript array that contains the ActionSheet's action buttons configuration. They will be rendered in the footer of the widget.
public ActionSheetBuilder ActionButtons(Action<ActionSheetActionButtonFactory> configurator)
The action that configures the actionbuttons.
Returns:Controls the alignment of the action buttons in the footer. This configuation works only in horizontal mode.
public ActionSheetBuilder ActionButtonsAlignment(ActionButtonsAlignment value)
The value that configures the actionbuttonsalignment.
Returns:Determines the orientation of the action buttons.
public ActionSheetBuilder ActionButtonsOrientation(ActionButtonsOrientation value)
The value that configures the actionbuttonsorientation.
Returns:When the ActionSheet is adaptive, it occupies the full width of the screen and has the option to cover the entire screen if the fullscreen is set to true as well.
public ActionSheetBuilder Adaptive(bool value)
The value that configures the adaptive.
Returns:Configures the opening and closing animations of the ActionSheet.
public ActionSheetBuilder Animation(Action<PopupAnimationBuilder> configurator)
The configurator that will configure the opening and closing animation.
Returns:Disables or opens the animation.
public ActionSheetBuilder Animation(bool value)
The value that will disable the animation. This property has effect only in adaptive mode.
Returns:Whether a close button would be rendered in the titlebar. A title needs to be set to get the titlebar rendered.
public ActionSheetBuilder CloseButton(bool value)
The value that configures the closebutton.
Returns:Determines whether the ActionSheet will close when clicking outside of it. If set to false, the ActionSheet will remain open until explicitly closed through code or by clicking the close button (if enabled).
public ActionSheetBuilder CloseOnClick(bool value)
The value that configures the closeonclick.
Returns:The text or the function whose result will be shown within the ActionSheet. By default, the ActionSheet will display the content of the target element. The content template will be disregarded if there are items defined in the widget options.
public ActionSheetBuilder ContentTemplate(string value)
The value that configures the contenttemplate.
Returns:The text or the function whose result will be shown within the ActionSheet. By default, the ActionSheet will display the content of the target element. The content template will be disregarded if there are items defined in the widget options.
public ActionSheetBuilder ContentTemplate<TModel>(TemplateBuilder<TModel> template)
A Template component that configures the contenttemplate.
Returns:The text or the function whose result will be shown within the ActionSheet. By default, the ActionSheet will display the content of the target element. The content template will be disregarded if there are items defined in the widget options.
public ActionSheetBuilder ContentTemplateHandler(string value)
The value that configures the contenttemplate.
Returns:The text or the function whose result will be shown within the ActionSheet. By default, the ActionSheet will display the content of the target element. The content template will be disregarded if there are items defined in the widget options.
public ActionSheetBuilder ContentTemplateId(string value)
The value that configures the contenttemplate.
Returns:The text or the function whose result will be shown within the ActionSheet. By default, the ActionSheet will display the content of the target element. The content template will be disregarded if there are items defined in the widget options.
public ActionSheetBuilder ContentTemplateView(MvcHtmlString value)
The value that configures the contenttemplate.
Returns:Fired when the widget opens.The event handler function context (available via the this keyword) will be set to the widget instance.
public ActionSheetBuilder Events(Action<ActionSheetEventBuilder> configurator)
The text or the function whose result will be shown within the footer of the ActionSheet. The footer template will be disregarded if there are actionButtons defined in the widget options.
public ActionSheetBuilder FooterTemplate(string value)
The value that configures the footertemplate.
Returns:The text or the function whose result will be shown within the footer of the ActionSheet. The footer template will be disregarded if there are actionButtons defined in the widget options.
public ActionSheetBuilder FooterTemplate<TModel>(TemplateBuilder<TModel> template)
A Template component that configures the footertemplate.
Returns:The text or the function whose result will be shown within the footer of the ActionSheet. The footer template will be disregarded if there are actionButtons defined in the widget options.
public ActionSheetBuilder FooterTemplateHandler(string value)
The value that configures the footertemplate.
Returns:The text or the function whose result will be shown within the footer of the ActionSheet. The footer template will be disregarded if there are actionButtons defined in the widget options.
public ActionSheetBuilder FooterTemplateId(string value)
The value that configures the footertemplate.
Returns:The text or the function whose result will be shown within the footer of the ActionSheet. The footer template will be disregarded if there are actionButtons defined in the widget options.
public ActionSheetBuilder FooterTemplateView(MvcHtmlString value)
The value that configures the footertemplate.
Returns:Specifies whether the adaptive actionsheet would cover the entire screen when opened.
public ActionSheetBuilder Fullscreen(bool value)
The value that configures the fullscreen.
Returns:A JavaScript array that contains the ActionSheet's items configuration.
public ActionSheetBuilder Items(Action<ActionSheetItemFactory> configurator)
The action that configures the items.
Returns:When configured, a start button will be rendered in the left side of the header section of the ActionSheet. Typically used for navigation or back functionality. The button is only visible when title is also specified.
public ActionSheetBuilder StartButton(Action<ActionSheetStartButtonSettingsBuilder> configurator)
The action that configures the startbutton.
Returns:Specifies the subtitle of the component. Requires the title to be configured in order to have the titlebar rendered.
public ActionSheetBuilder Subtitle(string value)
The value that configures the subtitle.
Returns:Specifies the title of the component
public ActionSheetBuilder Title(string value)
The value that configures the title.
Returns: