ToolBarButtonExtensions
Wisej.Web.Markup.ToolBarButtonExtensions
Namespace: Wisej.Web.Markup
Assembly: Wisej.Framework (4.0.0.0)
Adds fluent markup extension methods to the ToolBarButton class.
public class ToolBarButtonExtensions
Methods
AllowHtml<TToolBarButton>(toolbarButton, allow)

Sets whether HTML is allowed in the text of the ToolBarButton.
TToolBarButton
The type of the toolbar button.
Returns: TToolBarButton. The modified toolbar button.
AppearanceKey<TToolBarButton>(toolbarButton, appearanceKey)

Sets the appearance key of the ToolBarButton.
TToolBarButton
The type of the toolbar button.
Returns: TToolBarButton. The modified toolbar button.
AutoShowLoader<TToolBarButton>(toolbarButton, autoShowLoader)

Sets whether the loader is automatically shown for the ToolBarButton.
TToolBarButton
The type of the toolbar button.
Returns: TToolBarButton. The modified toolbar button.
DropDownMenu<TToolBarButton>(toolbarButton, dropDownMenu)

Sets the DropDownMenu of the ToolBarButton.
TToolBarButton
The type of the toolbar button.
Returns: TToolBarButton. The modified toolbar button.
Enabled<TToolBarButton>(toolbarButton, enabled)

Sets the enabled state of the ToolBarButton.
TToolBarButton
The type of the toolbar button.
Returns: TToolBarButton. The modified toolbar button.
ForeColor<TToolBarButton>(toolbarButton, color)

Sets the foreground color of the ToolBarButton.
TToolBarButton
The type of the toolbar button.
Returns: TToolBarButton. The modified toolbar button.
Image<TToolBarButton>(toolbarButton, image)

Sets the image of the ToolBarButton.
TToolBarButton
The type of the toolbar button.
Returns: TToolBarButton. The modified toolbar button.
ImageIndex<TToolBarButton>(toolbarButton, imageIndex)

Sets the image index of the ToolBarButton.
TToolBarButton
The type of the toolbar button.
Returns: TToolBarButton. The modified toolbar button.
ImageKey<TToolBarButton>(toolbarButton, imageKey)

Sets the image key of the ToolBarButton.
TToolBarButton
The type of the toolbar button.
Returns: TToolBarButton. The modified toolbar button.
ImageSource<TToolBarButton>(toolbarButton, imageSource)

Sets the image source of the ToolBarButton.
TToolBarButton
The type of the toolbar button.
Returns: TToolBarButton. The modified toolbar button.
Margin<TToolBarButton>(toolbarButton, margin)

Sets the margin of the ToolBarButton.
TToolBarButton
The type of the toolbar button.
Returns: TToolBarButton. The modified toolbar button.
Margin<TToolBarButton>(toolbarButton, left, top, right, bottom)

Sets the margin of the ToolBarButton using individual values.
TToolBarButton
The type of the toolbar button.
Returns: TToolBarButton. The modified toolbar button.
Name<TToolBarButton>(toolbarButton, name)

Sets the name of the ToolBarButton.
TToolBarButton
The type of the toolbar button.
Returns: TToolBarButton. The modified toolbar button.
OnClick<TToolBarButton>(toolbarButton, action)

Attaches an action to the Click event of the ToolBarButton.
TToolBarButton
The type of the toolbar button.
Returns: TToolBarButton. The modified toolbar button.
OnPushedChanged<TToolBarButton>(toolbarButton, action)

Attaches an action to the PushedChanged event of the ToolBarButton.
TToolBarButton
The type of the toolbar button.
Returns: TToolBarButton. The modified toolbar button.
Padding<TToolBarButton>(toolbarButton, padding)

Sets the padding of the ToolBarButton.
TToolBarButton
The type of the toolbar button.
Returns: TToolBarButton. The modified toolbar button.
Padding<TToolBarButton>(toolbarButton, left, top, right, bottom)

Sets the padding of the ToolBarButton with specified left, top, right, and bottom values.
TToolBarButton
The type of the toolbar button.
Returns: TToolBarButton. The modified toolbar button.
Pushed<TToolBarButton>(toolbarButton, pushed)

Sets the pushed state of the ToolBarButton.
TToolBarButton
The type of the toolbar button.
Returns: TToolBarButton. The modified toolbar button.
SizeMode<TToolBarButton>(toolbarButton, sizeMode)

Sets the size mode of the ToolBarButton.
TToolBarButton
The type of the toolbar button.
Returns: TToolBarButton. The modified toolbar button.
Style<TToolBarButton>(toolbarButton, style)

Sets the style of the ToolBarButton.
TToolBarButton
The type of the toolbar button.
Returns: TToolBarButton. The modified toolbar button.
Tag<TToolBarButton>(toolbarButton, obj)

Sets the tag object of the ToolBarButton.
TToolBarButton
The type of the toolbar button.
Returns: TToolBarButton. The modified toolbar button.
Text<TToolBarButton>(toolbarButton, text)

Sets the text of the ToolBarButton.
TToolBarButton
The type of the toolbar button.
Returns: TToolBarButton. The modified toolbar button.
Text<TToolBarButton>(toolbarButton, visible)

Sets the visibility of the ToolBarButton.
TToolBarButton
The type of the toolbar button.
Returns: TToolBarButton. The modified toolbar button.
ToolTipText<TToolBarButton>(toolbarButton, toolTipText)

Sets the tooltip text of the ToolBarButton.
TToolBarButton
The type of the toolbar button.
Returns: TToolBarButton. The modified toolbar button.
Last updated
Was this helpful?