Skip to content
Jean-Philippe Bruyère edited this page Oct 26, 2021 · 3 revisions

templated button control

namespace: Crow

Inheritance Hierarchy

  • Button

Syntax

public class Button : TemplatedContainer

Constructors

prototype description
Button (Interface iface, string style=null) __

Properties

name description
Caption __
Command __
Icon __
IsEnabled __
IsPressed __

Methods

prototype description
void onMouseClick(object sender, MouseButtonEventArgs e) Default mouse click method. A click is a press and release without mouving combination.
void onMouseDown(object sender, MouseButtonEventArgs e) Default mouse button press method. The MouseDown event is raised from withing it.
void onMouseUp(object sender, MouseButtonEventArgs e) Default mouse button release method. The MouseUp event is raised from withing it.

Events

name description
Pressed __
Released __
Clone this wiki locally