All pages
Powered by GitBook
1 of 1

Loading...

ComponentTool

Wisej.Web.ComponentTool

Namespace: Wisej.Web

Assembly: Wisej.Framework (2.2.0.0)

  • Component

    • ComponentTool

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 control shows tool widgets inside the caption bar. When a tool widget is pressed, it fires the toolClicked event on the container.

Constructors

ComponentTool()

Initializes a new instance of the class.

Properties

AutoHide

: Returns or sets whether the automatically hides itself when the host control loses the focus.

Control

: Returns the that contains this object.

Enabled

: Returns or sets whether the is enabled.

The tool can be forced enabled or disabled by assigning the property. Use 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 . By assigning this property, you can force the tool to be enabled when the container is disabled and vice versa.

Image

: Returns or sets the image that is displayed in a button.

ImageSource

: Returns or sets the theme name or URL for the image to display in the button.

Name

: Returns or sets the name to apply to the .

Position

: Returns or sets the horizontal alignment of this within the parent's container.

Pushed

: Returns or sets whether a toggle-style is currently in the pushed state.

ToolTipText

: Returns or sets ToolTip text associated with the button.

Visible

: Returns or sets whether the is visible.

Methods

ResetEnabled()

Resets the property to inherit the enabled state from the container .

Update()

Updates the component on the client. Overridden to repaint the widget in design mode.

Implements

Name
Description

IWisejComponent

All wisej components implement this interface.

IWisejSerializable

Allows an object to serialize itself.

Form
Public Class ComponentTool
    Inherits Component
ComponentTool
Boolean
ComponentTool
Control
Control
ComponentTool
Boolean
ComponentTool
Enabled
ResetEnabled
Control
Image
ComponentTool
String
ComponentTool
String
ComponentTool
LeftRightAlignment
ComponentTool
Boolean
ComponentTool
String
ComponentTool
Boolean
ComponentTool
Enabled
Control
public class ComponentTool : Component