Table of Contents

Class ButtonBase

Namespace
OmegaGUI.Model
Assembly
OmegaGUI.dll

A basis for Button-like control

public abstract class ButtonBase : Label, ICloneable
Inheritance
object
ButtonBase
Implements
Derived
Inherited Members

Properties

Hotkey

A hotkey that can substitute a mouse click

public Keys Hotkey { get; set; }

Property Value

Keys

OnClick

A Lua script to execute when the control is clicked

[FileType("Lua")]
public string? OnClick { get; set; }

Property Value

string

Methods

CloneFromTo(ButtonBase, ButtonBase)

Copies all members declared by ButtonBase from one instance to another.

protected static void CloneFromTo(ButtonBase from, ButtonBase to)

Parameters

from ButtonBase
to ButtonBase