ToolBarExtensions

Wisej.Web.Markup.ToolBarExtensions

Namespace: Wisej.Web.Markup

Assembly: Wisej.Framework (4.0.0.0)

Adds fluent markup extension methods to the ToolBar class.

public class ToolBarExtensions

Methods

AutoOverflow<TToolBar>(toolBar, autoOverflow)

Configures the auto overflow behavior of the specified ToolBar.

Parameter
Type
Description

TToolBar

toolBar

The toolbar to modify.

autoOverflow

Specifies whether the toolbar should automatically handle overflow.

Returns: TToolBar. The modified toolbar.

BorderStyle<TToolBar>(toolBar, borderStyle)

Sets the border style of the specified ToolBar.

Parameter
Type
Description

TToolBar

toolBar

The toolbar to modify.

borderStyle

The border style to apply.

Returns: TToolBar. The modified toolbar.

Buttons<TToolBar>(toolBar, toolBarButtons)

Adds an array of ToolBarButton to the specified ToolBar.

Parameter
Type
Description

TToolBar

toolBar

The toolbar to modify.

toolBarButtons

The buttons to add to the toolbar.

Returns: TToolBar. The modified toolbar.

ImageList<TToolBar>(toolBar, imageList)

Assigns an ImageList to the specified ToolBar.

Parameter
Type
Description

TToolBar

toolBar

The toolbar to modify.

imageList

The ImageList to assign.

Returns: TToolBar. The modified toolbar.

OnButtonClick<TToolBar>(toolbar, action)

Parameter
Type
Description

Returns: TToolBar.

OnButtonDropDown<TToolBar>(toolbar, action)

Parameter
Type
Description

Returns: TToolBar.

ShowToolTips<TToolBar>(toolBar, showToolTips)

Configures whether tooltips are shown on the specified ToolBar.

Parameter
Type
Description

TToolBar

toolBar

The toolbar to modify.

showToolTips

Specifies whether to show tooltips.

Returns: TToolBar. The modified toolbar.

TextAlign<TToolBar>(toolBar, toolBarTextAlign)

Sets the text alignment on the specified ToolBar.

Parameter
Type
Description

TToolBar

toolBar

The toolbar to modify.

toolBarTextAlign

The text alignment to set.

Returns: TToolBar. The modified toolbar.

Last updated

Was this helpful?