Table of Contents

Class RDFormsProgram

Namespace
RDCore.Forms.Avalonia.Rendering
Assembly
RDCore.Forms.Avalonia.dll

A program whose forms are shown in RDFormsFormWindows: its windows share one active form, which the form events that follow the activation (Activate, Deactivate, and the GotFocus and LostFocus that come with them) are raised for.

public sealed class RDFormsProgram
Inheritance
RDFormsProgram
Inherited Members

Remarks

As in VB6, a program's active form is its own: a window of another program that takes the activation raises nothing on this program's forms, and this program's active form stays active for it.

A process that shows the forms of more than one program gives each program its own RDFormsProgram, and sets it on each window it makes (Program). Every window given none is a window of Default: in a process that shows one program's forms, that is the program.

An RDFormsProgram is used on the thread of the windows (Avalonia's UI thread).

Properties

Default

The program of every window that is given none.

public static RDFormsProgram Default { get; }

Property Value

RDFormsProgram