ComponentTool
Wisej.Web.ComponentTool
Namespace: Wisej.Web
Assembly: Wisej.Framework (4.0.0.0)
Represent a tool widget that can be displayed inside another control. A tool widget is different from other child controls: it's displayed inside the parent's layout. For example, the Form control shows tool widgets inside the caption bar. When a tool widget is pressed, it fires the toolClicked event on the container.
public class ComponentTool : ComponentPublic Class ComponentTool
    Inherits ComponentConstructors
 ComponentTool()
 ComponentTool()
 ComponentTool()
 ComponentTool()Initializes a new instance of the ComponentTool class.
Properties
 AutoHide
 AutoHide
 AutoHide
 AutoHideBoolean: Returns or sets whether the ComponentTool automatically hides itself when the host control loses the focus. (Default: False)
 Control
 Control
 Control
 ControlControl: Returns the Control that contains this ComponentTool object.
 Enabled
 Enabled
 Enabled
 EnabledBoolean: Returns or sets whether the ComponentTool is enabled.
The tool can be forced enabled or disabled by assigning the Enabled property. Use ResetEnabled to reset this property to inherit from the container. If this property is not assigned, the tool will inherit the enabled state from the container Control. By assigning this property, you can force the tool to be enabled when the container is disabled and vice versa.
 Image
 Image
 Image
 ImageImage: Returns or sets the image that is displayed in a ComponentTool button.
 ImageSource
 ImageSource
 ImageSource
 ImageSourceString: Returns or sets the theme name or URL for the image to display in the ComponentTool button.
 Name
 Name
 Name
 NameString: Returns or sets the name to apply to the ComponentTool. (Default: "")
 Position
 Position
 Position
 PositionLeftRightAlignment: Returns or sets the horizontal alignment of this ComponentTool within the parent's container. (Default: Right)
 Pushed
 Pushed
 Pushed
 PushedBoolean: Returns or sets whether a toggle-style ComponentTool is currently in the pushed state. (Default: False)
 ToolTipText
 ToolTipText
 ToolTipText
 ToolTipTextString: Returns or sets ToolTip text associated with the ComponentTool button. (Default: "")
 Visible
 Visible
 Visible
 VisibleBoolean: Returns or sets whether the ComponentTool is visible. (Default: True)
Methods
 Dispose(disposing)
 Dispose(disposing)
 Dispose(disposing)
 Dispose(disposing)Marks this component as disposed.
 OnWebRender(config)
 OnWebRender(config)
 OnWebRender(config)
 OnWebRender(config)Renders the client component.
 ResetEnabled()
 ResetEnabled()
 ResetEnabled()
 ResetEnabled()Resets the Enabled property to inherit the enabled state from the container Control.
 Update()
 Update()
 Update()
 Update()Updates the component on the client. Overridden to repaint the widget in design mode.
Implements
Provides access to the UserData and Tag properties associated to the component implementing this interface.
All wisej components implement this interface.
Allows an object to serialize itself.
Last updated
Was this helpful?

