Skip to content

LabelMarkupExtensions.Text<T> method

Sets the text; an underscore prefix marks the access key character (e.g. “_Name” registers Alt+N) and a double underscore is a literal underscore.

public static T Text<T>(this T target, string value)
where T : Label
parameter description
T Receiver type.
target Target Label.
value Value assigned to Text.

The same element for chaining.

Sets: Label.Text