Skip to main content

Class ClickableControl

Represents a base class for clickable display controls in the user interface.

Assembly: MicroLayout.dll
View Source
Declaration
public abstract class ClickableControl : ThemedControl, IThemedControl, IClickableControl, IControl

Inheritance: System.Object -> Meadow.Foundation.Graphics.MicroLayout.Control

Derived:
Meadow.Foundation.Graphics.MicroLayout.Button

Implements:
Meadow.Foundation.Graphics.MicroLayout.IThemedControl

Properties

IsEnabled

Gets or sets the Enabled state of the control

View Source
Declaration
public bool IsEnabled { get; set; }

Pressed

Gets or sets a value indicating whether the clickable control is in a pressed state.

View Source
Declaration
public bool Pressed { get; set; }

Methods

Click()

Cycles the Control through the pressed and unpressed state, firing the Clicked event

View Source
Declaration
public void Click()

Events

Clicked

Occurs when the clickable control is clicked.

View Source
Declaration
public event EventHandler Clicked
Event Type

System.EventHandler

Implements