Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Loading...
Wisej.Web.ToolBarButtonClickEventArgs
Namespace: Wisej.Web
Assembly: Wisej.Framework (4.0.0.0)
Provides data for the ButtonClick event.
Initializes a new instance of the ToolBarButtonClickEventArgs class.
button
ToolBarButton: Returns or sets the ToolBarButton that was clicked.
Wisej.Web.ToolBar ToolBarButtonCollection
Namespace: Wisej.Web
Assembly: Wisej.Framework (4.0.0.0)
Represents the collection of ToolBarButton controls in a ToolBar control.
Initializes a new instance of the ToolBarButtonCollection class.
owner
Boolean: Returns or sets the dirty state for the list. When true, the list of items must be sent back to the client.
Boolean: Returns or sets the new state for the list. When true, the entire list is cleared and reloaded on the client.
Boolean: Returns a value indicating whether this collection is read-only.
ToolBarButton: Returns or sets the ToolBarButton at the specified index.
ToolBarButton: Returns the ToolBarButton identified by the name.
Adds a ToolBarButton with the specified text to the collection.
text
Returns: ToolBarButton. A ToolBarButton that represents the panel that was added to the collection.
Adds a ToolBarButton to the collection.
button
Returns: Int32. The zero-based index of the item in the collection.
Throws:
ArgumentNullException The ToolBarButton being added to the collection is null.
ArgumentException The parent of the ToolBarButton specified in the button parameter is not null.
Adds an array of ToolBarButton to the collection.
buttons
Removes all ToolBarButton objects from the collection.
Removes and optionally disposes all ToolBarButton objects from the collection.
dispose
Indicates whether the removed items should be disposed.
Determines whether the specified ToolBarButton is located within the collection.
button
Returns: Boolean. true if the ToolBarButton is located within the collection; otherwise, false.
Determines whether the collection contains a ToolBarButton with the specified key.
key
The name of the item to find in the collection.
Returns: Boolean. true to indicate the collection contains a ToolBarButton with the specified key; otherwise, false.
Returns an enumerator to use to iterate through the ToolBarButton objects in the collection.
Returns: IEnumerator. An IEnumerator that represents the item collection.
Returns the index within the collection of the specified ToolBarButton.
button
Returns: Int32. The zero-based index where the ToolBarButton is located within the collection; otherwise, negative one (-1).
Returns the index of the first occurrence of a ToolBarButton with the specified key.
key
Returns: Int32. The zero-based index of the first occurrence of the ToolBarButton with the specified key, if found; otherwise, -1.
Inserts the specified ToolBarButton into the collection at the specified index.
index
The zero-based index location where the panel is inserted.
button
Throws:
ArgumentNullException The button parameter is null.
ArgumentException The button parameter's parent is not null.
ArgumentOutOfRangeException The index parameter is less than zero or greater than the value of the Count property of the ToolBarButtonCollection class.
Removes the specified ToolBarButton from the collection.
button
Throws:
ArgumentNullException The ToolBarButton assigned to the button parameter is null.
Removes the ToolBarButton located at the specified index within the collection.
index
The zero-based index of the item to remove.
Throws:
ArgumentOutOfRangeException The index parameter is less than zero or greater than or equal to the value of the Count property of the ToolBarButtonCollection class.
Removes the ToolBarButton with the specified key from the collection.
key
Renders the list to the json definition for the client.
Returns: Object.
Wisej.Web.ToolBar
Namespace: Wisej.Web
Assembly: Wisej.Framework (4.0.0.0)
Represents a toolbar component.
Initializes a new instance of the class.
: Enables the overflow handling which automatically removes items that don't fit in the and adds them to a drop-down menu button. (Default: True
)
Returns a collection of referenced components or collection of components.
Processes the event from the client.
Renders the client component.
Validates the current control.
The that was clicked.
Represents the method that will handle the event of a .
The control that owns this collection.
The text for the that is being added.
A that represents the panel to add to the collection.
Array of objects to add to the collection.
The to locate in the collection.
The to locate in the collection.
The name of the to find in the collection.
A representing the panel to insert.
The representing the panel to remove from the collection.
The name of the to remove from the collection.
: Returns or sets whether the toolbar adjusts its size automatically, based on the size of the buttons and the dock style. (Default: True
)
: Returns or sets the border style of the toolbar control. (Default: None
)
: Returns the number of child buttons without forcing the creation of the collection.
: Returns the collection of controls assigned to the toolbar control.
: Returns or sets whether clicking ToolBar buttons causes validation to be performed on the active control. (Default: False
)
:
: (Default: Top
)
: Returns or sets the collection of images available to the toolbar button controls. (Default: null
)
: Creates the property manager for the Image properties on first use.
: Returns or sets whether the toolbar displays a ToolTip for each button. (Default: True
)
: Returns or sets the alignment of text in relation to each image displayed on the toolbar button controls. (Default: Underneath
)
Disposes of the resources (other than memory) used by the .
Returns: .
Fires the event.
Fires the event.
Fires the event.
Fires the event.
Sets the specified bounds of the control.
Returns: . true if the active control is validated.
Fired when the value of the property has changed.
Fired when a on the is clicked.
Fired when a drop-down style or its down arrow is clicked.
disposing
true when this method is called by the application rather than a finalizer.
proposedSize
items
e
An EventArgs that contains the event data.
e
A ToolBarButtonClickEventArgs that contains the event data.
e
A ToolBarButtonClickEventArgs that contains the event data.
e
An EventArgs that contains the event data.
e
Event arguments.
config
Dynamic configuration object.
x
The new Left property value of the control.
y
The new Top property value of the control.
width
The new Width property value of the control.
height
Not used.
specified
A combination of the BoundsSpecified values.
Provides access to the UserData
and Tag
properties associated to the component implementing this interface.
Bindable components implement this interface.
Controls that support drag & drop operations implement this interface.
All wisej components implement this interface.
All wisej controls derived from the Control class must implement this interface.
Allows an object to serialize itself.
DropDownButton
A drop-down button that displays a menu when clicked.
PushButton
A standard button.
Separator
A line between ToolBar buttons.
ToggleButton
A toggle button. The Pushed property and state is toggle on each click.
Returns or sets the style of the toolbar button.
Auto
The width of the ToolBarButton is determined by its contents.
Fill
Returns or sets how the toolbar button is resized.
sender
The source of the event.
e
A ToolBarButtonClickEventArgs that contains the event data.
Fired when a ToolBarButton on the ToolBar is clicked.
Fired when a drop-down style ToolBarButton or its down arrow is clicked.
Fired when a ToolBarButton on the ToolBar is clicked.
Fired when a drop-down style ToolBarButton or its down arrow is clicked.
Right
The text is aligned to the right of the ToolBarButton image.
Underneath
The text is aligned underneath the ToolBarButton image.
Returns or sets the alignment of text in relation to each image displayed on the toolbar button controls.
Wisej.Web.ToolBarButton
Namespace: Wisej.Web
Assembly: Wisej.Framework (4.0.0.0)
Represents an item in the ToolBar.
Change the type of item to display using the Style property.
Initializes a new instance of the ToolBarButton class.
Initializes a new instance of the ToolBarButton class and displays the assigned text on the button.
text
Boolean: Returns or sets a value indicating that the control can display HTML in the Text property. (Default: False
)
String: Sets the appearance key for the theme engine. (Default: null
)
Boolean: Returns or sets whether the application blocks the browser with a modal mask when this button is clicked and until the server is done processing the execution request. (Default: False
)
AutoShowLoader blocks the entire browser as soon as the button is clicked since it's implemented on the client side, while ShowLoader blocks the specific widget when returning from the request.
ICommand: Returns or sets the ICommand implementation to invoke. (Default: null
)
ContextMenu: Returns or sets the menu to be displayed in the drop-down toolbar button. (Default: null
)
Boolean: Returns or sets whether the button is enabled. (Default: True
)
Color: Returns or sets the text color of the toolbar button.
Image: Returns or sets the image that is displayed in a ToolBarButton.
Int32: Returns or sets the index value of the image assigned to the ToolBarButton. (Default: -1
)
Throws:
ArgumentOutOfRangeException The specified index is less than -1.
String: Returns or sets the name of the image assigned to the button. (Default: ""
)
ImagePropertySettings: Creates the property manager for the Image properties on first use.
String: Returns or sets the theme name or URL for the image to display in the ToolBarButton.
Padding: Returns or sets the space between toolbar buttons.
String: Returns or sets the name of the ToolBarButton.
Padding: Returns or sets padding within the toolbar button.
ToolBar: Returns the toolbar control that the toolbar button is assigned to.
Boolean: Returns or sets whether a toggle-style toolbar button is currently in the pushed state. (Default: False
)
ToolBarButtonSizeMode: Returns or sets how the toolbar button is resized. (Default: Auto
)
ToolBarButtonStyle: Returns or sets the style of the toolbar button. (Default: PushButton
)
Object: Returns or sets the object that contains data about the toolbar button. (Default: null
)
String: Returns or sets the text displayed on the toolbar button. (Default: ""
)
When AllowHtml is set to true, the text can contain HTML content. If the text contains new lines (CRLF) but doesn't contain HTML elements (at least one "<") all CRLF are automatically substituted with "<br/>".
String: Returns or sets the text that appears as a ToolTip for the button. (Default: ""
)
Boolean: Returns or sets whether the toolbar button is visible or hidden. (Default: True
)
Releases the resources used by the ToolBarButton.
disposing
true when this method is called by the application rather than a finalizer.
Returns a collection of referenced components or collection of components.
items
Fires the Click event.
e
Fires the CommandChanged event.
e
Fires the PushedChanged event.
e
Renders the client component.
config
Dynamic configuration object.
Generates the Click and ButtonClick events.
Updates the component on the client. Overridden to repaint the toolbar in design mode.
Validates the current control.
Returns: Boolean. true if the active control is validated.
EventHandler Fired when the control is clicked.
EventHandler Fired when the Command property value changes.
EventHandler Fired when the Pushed property value changes.
Provides access to the UserData
and Tag
properties associated to the component implementing this interface.
Bindable components implement this interface.
All wisej components implement this interface.
Allows an object to serialize itself.
The text to display on the new .
An that contains the event data.
A that contains the event data.
A that contains the event data.
Defines an object that can invoke a .