Button
Wisej.Web.Button
Last updated
Was this helpful?
Wisej.Web.Button
Last updated
Was this helpful?
Namespace: Wisej.Web
Assembly: Wisej.Framework (4.0.0.0)
Represents a button control.
Initializes a new instance of the Button class.
Initializes a new instance of the Button class with specific initial settings.
text
Initial text.
onClick
Initializes a new instance of the Button class with specific initial settings.
text
Initial text.
location
Initial location.
size
Initial size.
onClick
Optional click handler.
Initializes a new instance of the Button class with specific initial settings.
text
Initial text.
ImageSource
Image source.
location
Initial location.
size
Initial size.
onClick
Optional click handler.
AutoSizeMode: Returns or sets the mode by which the Button automatically resizes itself. (Default: GrowOnly
)
Boolean: Returns or sets whether a tooltip is displayed when the text extends beyond the size of the control. (Default: False
)
The auto tooltip is set on the browser using the title attribute managed by the browser, does not use the themed tooltip managed by Wisej.NET.
BorderStyle: Returns or sets the border style of the button control. (Default: Solid
)
DialogResult: Returns or sets a value that is returned to the parent form when the button is clicked. (Default: None
)
Display: Returns or sets the Display mode of the control to determine whether to display the icon, the text or both. (Default: Both
)
Nullable<Int32>: Returns or sets the distance in pixels between the image and the label inside the button. (Default: null
)
MenuItemCollection: Returns the collection of MenuItem objects associated with the button.
Boolean: Enables or disables the auto-repeat feature. When enabled, the button keeps firing click events at an increasing rate while the user keeps the button pressed. (Default: False
)
Shortcut: Returns or sets a value indicating the shortcut key associated with the button. (Default: None
)
Disposes the control.
disposing
true when this method is called by the application rather than a finalizer.
Returns: Int32.
proposedSize
Returns: Size.
Adds references components to the list. Referenced components can be added individually or as a reference to a collection.
items
Container for the referenced components or collections.
Fires the BindingContextChanged event.
e
Fires the Click event.
e
Fires the ItemClicked event.
e
Fires the MenuCollapse event. Since 3.5.5
e
Fires the MenuPopup event. Since 3.5.5
e
Renders the client component.
config
Dynamic configuration object.
Generates a Click event for a button.
MenuButtonItemClickedEventHandler Fired when the user clicks one of the drop down menu items.
EventHandler Fired when the button menu is closed. Since 3.5.5
EventHandler Fired after the button menu is displayed on the client. Since 3.5.5
Represents a split button control.
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.
Provides access to common image properties across the controls that implement this interface.
All wisej components implement this interface.
Allows an object to serialize itself.
Optional handler.
An that contains the event data.
An that contains the event data.
A that contains the event data.
A that contains the event data.
A that contains the event data.
Allows a control to act like a button on a .
Defines an object that can invoke a .
All wisej controls derived from the class must implement this interface.