Skip to main content
Version: 4.1

ToolBarExtensions

Namespace: Wisej.Web.Markup

Assembly: Wisej.Framework (4.1.0.0)

Adds fluent markup extension methods to the ToolBar class.

public class ToolBarExtensions

Methods

Static member AutoOverflow<TToolBar>(toolBar, autoOverflow)

Configures the auto overflow behavior of the specified ToolBar.

ParameterTypeDescription
TToolBar
toolBarTToolBarThe toolbar to modify.
autoOverflowBooleanSpecifies whether the toolbar should automatically handle overflow.

Returns: TToolBar. The modified toolbar.

Static member BorderStyle<TToolBar>(toolBar, borderStyle)

Sets the border style of the specified ToolBar.

ParameterTypeDescription
TToolBar
toolBarTToolBarThe toolbar to modify.
borderStyleBorderStyleThe border style to apply.

Returns: TToolBar. The modified toolbar.

Static member Buttons<TToolBar>(toolBar, toolBarButtons)

Adds an array of ToolBarButton to the specified ToolBar.

ParameterTypeDescription
TToolBar
toolBarTToolBarThe toolbar to modify.
toolBarButtonsToolBarButton[]The buttons to add to the toolbar.

Returns: TToolBar. The modified toolbar.

Static member ImageList<TToolBar>(toolBar, imageList)

Assigns an ImageList to the specified ToolBar.

ParameterTypeDescription
TToolBar
toolBarTToolBarThe toolbar to modify.
imageListImageListThe ImageList to assign.

Returns: TToolBar. The modified toolbar.

Static member OnButtonClick<TToolBar>(toolbar, action)

ParameterTypeDescription
TToolBar
toolbarTToolBar
actionAction<TToolBar, ToolBarButtonClickEventArgs>

Returns: TToolBar.

Static member OnButtonDropDown<TToolBar>(toolbar, action)

ParameterTypeDescription
TToolBar
toolbarTToolBar
actionAction<TToolBar, ToolBarButtonClickEventArgs>

Returns: TToolBar.

Static member ShowToolTips<TToolBar>(toolBar, showToolTips)

Configures whether tooltips are shown on the specified ToolBar.

ParameterTypeDescription
TToolBar
toolBarTToolBarThe toolbar to modify.
showToolTipsBooleanSpecifies whether to show tooltips.

Returns: TToolBar. The modified toolbar.

Static member TextAlign<TToolBar>(toolBar, toolBarTextAlign)

Sets the text alignment on the specified ToolBar.

ParameterTypeDescription
TToolBar
toolBarTToolBarThe toolbar to modify.
toolBarTextAlignToolBarTextAlignThe text alignment to set.

Returns: TToolBar. The modified toolbar.