SelectableLabel

SelectableLabel is a Label variant that lets users select and copy text.

Usage

SelectableLabel is defined in the UraniumUI.Controls namespace.

xmlns:uranium="http://schemas.enisn-projects.io/dotnet/maui/uraniumui"
<uranium:SelectableLabel
    Text="You can select and copy this text."
    LineBreakMode="WordWrap" />

SelectableLabel uses the same text-related properties as Label, including Text, TextColor, FontFamily, FontSize, TextDecorations, and alignment properties.

In this document