Defines the fluent API for configuring the Kendo FloatingToolBar for ASP.NET MVC.
Definition
Namespace:Kendo.Mvc.UI.Fluent
Assembly:Kendo.Mvc.dll
Syntax:
public class FloatingToolBarBuilder : WidgetBuilderBase<FloatingToolBar, FloatingToolBarBuilder>, IHtmlString
Inheritance: objectWidgetBuilderBase<FloatingToolBar, FloatingToolBarBuilder>FloatingToolBarBuilder
Implements:
Inherited Members
Constructors
Initializes a new instance of the FloatingToolBar class.
public FloatingToolBarBuilder(FloatingToolBar component)
The component.
Methods
Specifies the target element the FloatingToolBar is anchored to. When set, the widget operates in Anchored mode and positions itself relative to the specified target based on the position option. When left unset, the widget operates in Free-position mode and is positioned based on the containerAlign and margin options.
public FloatingToolBarBuilder Anchor(string value)
The value that configures the anchor.
Returns:Specifies the aria-label attribute applied to the hosted ToolBar element, overriding the ToolBar's own default "Toolbar" label. Use this option to provide an accessible name that describes the purpose of the floating toolbar to assistive technologies.
public FloatingToolBarBuilder AriaLabel(string value)
The value that configures the arialabel.
Returns:Specifies the alignment of the FloatingToolBar relative to its positioned container when the anchor option is not set (Free-position mode). This option is ignored when anchor is set.
public FloatingToolBarBuilder ContainerAlign(Action<FloatingToolBarContainerAlignSettingsBuilder> configurator)
The action that configures the containeralign.
Returns:Specifies whether the FloatingToolBar can be repositioned by the user through pointer dragging or keyboard-driven Move mode. When enabled, a drag handle is rendered inside the widget and the movement is clamped to remain within the browser viewport.
public FloatingToolBarBuilder Draggable(bool value)
The value that configures the draggable.
Returns:Configures the client-side events.
public FloatingToolBarBuilder Events(Action<FloatingToolBarEventBuilder> configurator)
The client events action.
Returns:public FloatingToolBarBuilder FillMode(FillMode value)
The value that configures the fillmode.
Returns:A JavaScript array that contains the configuration of the commands rendered inside the hosted ToolBar. The item configuration is identical to the ToolBar "items" configuration.
public FloatingToolBarBuilder Items(Action<ToolBarItemFactory> configurator)
The action that configures the items.
Returns:Specifies an additional offset, in pixels, applied to the FloatingToolBar position. The margin is applied in both Anchored and Free-position modes.
public FloatingToolBarBuilder Margin(Action<FloatingToolBarMarginSettingsBuilder> configurator)
The action that configures the margin.
Returns:Specifies the localizable messages of the FloatingToolBar.
public FloatingToolBarBuilder Messages(Action<FloatingToolBarMessagesSettingsBuilder> configurator)
The action that configures the messages.
Returns:Configures the overflow behavior of the hosted ToolBar. The configuration is forwarded verbatim to the hosted ToolBar instance.
public FloatingToolBarBuilder Overflow(Action<FloatingToolBarOverflowSettingsBuilder> configurator)
The action that configures the overflow.
Returns:Specifies the side of the anchor target the FloatingToolBar is positioned at. Default is Top.
public FloatingToolBarBuilder Position(FloatingToolBarPosition value)
The value that configures the position.
Returns:public FloatingToolBarBuilder Size(ComponentSize value)
The value that configures the size.
Returns:Specifies whether the FloatingToolBar is shown initially, upon widget initialization.
public FloatingToolBarBuilder Visible(bool value)
The value that configures the visible.
Returns: