Show / Hide Table of Contents

Custom Widgets


Base Hierarchy

Hierarchy

Box Widget

Interactive Widget


Event System

Workflow

Event Description

  • Mount
  • BeforeDraw
  • Draw
  • DrawComplete
  • Unmount

Color & Position

Positions

Source

// Custom Widget
public class NewWidget : TWidgetBase
{ 
    ...
    // On Draw Event
    public override void Draw(Graphics g)
    {
        g.Draw(new Line());
    }

    ...
}

Output

──────────────────────────────────────────────────────


Cursors

During the drawing, the position

Source

// Custom Widget
public class NewWidget : TWidgetBase
{ 
    ...
    // On Draw Event
    public override void Draw(Graphics g)
    {
        g.Draw(new Line());
    }

    ...
}

Output

──────────────────────────────────────────────────────

More Documentation

  • Improve this Doc
In This Article
Back to top Generated by DocFX