Skip to content

LabelMarkupExtensions class

Generated fluent setters and event subscriptions for Label.

Guide: C# Markup guide

public static class LabelMarkupExtensions
name description
static Target<T>(…) Sets the element that receives OnAccessKey when this label’s access key is activated; null lets the access key bubble up the parent chain.
static Text<T>(…) 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.
static TextAlignment<T>(…) Sets the horizontal text alignment.
static TextTrimming<T>(…) Sets the text trimming mode.
static TextWrapping<T>(…) Sets the text wrapping mode.
static VerticalTextAlignment<T>(…) Sets the vertical text alignment.