Form

GPALLabel

GPALLabel renders non-editable text on the form. Use it to provide field labels, section headers, instructions, or status messages. Labels do not appear in the data output when the form data is read - they are display-only. The text displayed is set at design time and can be updated programmatically during the form's lifetime.

Examples

GPAL Fluent: High-level fluent C# API

//Labels are purely presentational - they do not hold values and do not contribute to the form data grid. Use them to explain what each input expects or to separate sections visually.

// Instruction label in a form

GPAL.Form

.WithTitle("Import Data")

.WithFormControl((Label)GPAL.Label

.WithText("Enter the source file path below:"))

.WithFormControl((Input)GPAL.Input

.WithText("File Path"))

.ShowDialog();

💬 Ask GPAL