ToolBarButtonExtensions
Wisej.Web.Markup.ToolBarButtonExtensions
Last updated
Was this helpful?
Wisej.Web.Markup.ToolBarButtonExtensions
Last updated
Was this helpful?
Namespace: Wisej.Web.Markup
Assembly: Wisej.Framework (4.0.0.0)
Adds fluent markup extension methods to the ToolBarButton class.
public class ToolBarButtonExtensions
Sets whether HTML is allowed in the text of the ToolBarButton.
TToolBarButton
The type of the toolbar button.
toolbarButton
The toolbar button to extend.
allow
A value indicating whether HTML is allowed.
Returns: TToolBarButton. The modified toolbar button.
Sets the appearance key of the ToolBarButton.
TToolBarButton
The type of the toolbar button.
toolbarButton
The toolbar button to extend.
appearanceKey
The appearance key to set.
Returns: TToolBarButton. The modified toolbar button.
Sets whether the loader is automatically shown for the ToolBarButton.
TToolBarButton
The type of the toolbar button.
toolbarButton
The toolbar button to extend.
autoShowLoader
A value indicating whether the loader is automatically shown.
Returns: TToolBarButton. The modified toolbar button.
Sets the DropDownMenu of the ToolBarButton.
TToolBarButton
The type of the toolbar button.
toolbarButton
The toolbar button to extend.
dropDownMenu
The drop-down menu to associate.
Returns: TToolBarButton. The modified toolbar button.
Sets the enabled state of the ToolBarButton.
TToolBarButton
The type of the toolbar button.
toolbarButton
The toolbar button to extend.
enabled
A value indicating whether the button is enabled.
Returns: TToolBarButton. The modified toolbar button.
Sets the foreground color of the ToolBarButton.
TToolBarButton
The type of the toolbar button.
toolbarButton
The toolbar button to extend.
color
The color to set.
Returns: TToolBarButton. The modified toolbar button.
Sets the image of the ToolBarButton.
TToolBarButton
The type of the toolbar button.
toolbarButton
The toolbar button to extend.
image
The image to set.
Returns: TToolBarButton. The modified toolbar button.
Sets the image index of the ToolBarButton.
TToolBarButton
The type of the toolbar button.
toolbarButton
The toolbar button to extend.
imageIndex
The zero-based index of the image to set.
Returns: TToolBarButton. The modified toolbar button.
Sets the image key of the ToolBarButton.
TToolBarButton
The type of the toolbar button.
toolbarButton
The toolbar button to extend.
imageKey
The image key to set.
Returns: TToolBarButton. The modified toolbar button.
Sets the image source of the ToolBarButton.
TToolBarButton
The type of the toolbar button.
toolbarButton
The toolbar button to extend.
imageSource
The image source URL or path to set.
Returns: TToolBarButton. The modified toolbar button.
Sets the margin of the ToolBarButton.
TToolBarButton
The type of the toolbar button.
toolbarButton
The toolbar button to extend.
margin
The margin to set.
Returns: TToolBarButton. The modified toolbar button.
Sets the margin of the ToolBarButton using individual values.
TToolBarButton
The type of the toolbar button.
toolbarButton
The toolbar button to extend.
left
The left margin.
top
The top margin.
right
The right margin.
bottom
The bottom margin.
Returns: TToolBarButton. The modified toolbar button.
Sets the name of the ToolBarButton.
TToolBarButton
The type of the toolbar button.
toolbarButton
The toolbar button to extend.
name
The name to set.
Returns: TToolBarButton. The modified toolbar button.
Attaches an action to the Click event of the ToolBarButton.
TToolBarButton
The type of the toolbar button.
toolbarButton
The toolbar button to extend.
action
The action to perform when the button is clicked.
Returns: TToolBarButton. The modified toolbar button.
Attaches an action to the PushedChanged event of the ToolBarButton.
TToolBarButton
The type of the toolbar button.
toolbarButton
The toolbar button to extend.
action
The action to perform when the pushed state changes.
Returns: TToolBarButton. The modified toolbar button.
Sets the padding of the ToolBarButton.
TToolBarButton
The type of the toolbar button.
toolbarButton
The toolbar button to extend.
padding
The padding to set.
Returns: TToolBarButton. The modified toolbar button.
Sets the padding of the ToolBarButton with specified left, top, right, and bottom values.
TToolBarButton
The type of the toolbar button.
toolbarButton
The toolbar button to extend.
left
The left padding.
top
The top padding.
right
The right padding.
bottom
The bottom padding.
Returns: TToolBarButton. The modified toolbar button.
Sets the pushed state of the ToolBarButton.
TToolBarButton
The type of the toolbar button.
toolbarButton
The toolbar button to extend.
pushed
A value indicating whether the button is pushed.
Returns: TToolBarButton. The modified toolbar button.
Sets the size mode of the ToolBarButton.
TToolBarButton
The type of the toolbar button.
toolbarButton
The toolbar button to extend.
sizeMode
The size mode to set.
Returns: TToolBarButton. The modified toolbar button.
Sets the style of the ToolBarButton.
TToolBarButton
The type of the toolbar button.
toolbarButton
The toolbar button to extend.
style
The style to set.
Returns: TToolBarButton. The modified toolbar button.
Sets the tag object of the ToolBarButton.
TToolBarButton
The type of the toolbar button.
toolbarButton
The toolbar button to extend.
obj
The object to set as the tag.
Returns: TToolBarButton. The modified toolbar button.
Sets the text of the ToolBarButton.
TToolBarButton
The type of the toolbar button.
toolbarButton
The toolbar button to extend.
text
The text to set.
Returns: TToolBarButton. The modified toolbar button.
Sets the visibility of the ToolBarButton.
TToolBarButton
The type of the toolbar button.
toolbarButton
The toolbar button to extend.
visible
A value indicating whether the button is visible.
Returns: TToolBarButton. The modified toolbar button.
Sets the tooltip text of the ToolBarButton.
TToolBarButton
The type of the toolbar button.
toolbarButton
The toolbar button to extend.
toolTipText
The tooltip text to set.
Returns: TToolBarButton. The modified toolbar button.