26 references to LabelHandler
Microsoft.Maui.Controls (26)
Hosting\AppHostBuilderExtensions.cs (1)
76
handlersCollection.AddHandler<Label,
LabelHandler
>();
Label\Label.iOS.cs (3)
20
public static void MapText(
LabelHandler
handler, Label label) => MapText((ILabelHandler)handler, label);
51
LabelHandler
.MapFormatting(handler, label);
56
if (Handler is
LabelHandler
labelHandler)
Label\Label.Mapper.cs (22)
19
LabelHandler
.Mapper.ReplaceMapping<Label, ILabelHandler>(nameof(TextType), MapTextType);
20
LabelHandler
.Mapper.ReplaceMapping<Label, ILabelHandler>(nameof(TextTransform), MapTextTransform);
23
LabelHandler
.Mapper.ReplaceMapping<Label, ILabelHandler>(nameof(Text), MapText);
24
LabelHandler
.Mapper.ReplaceMapping<Label, ILabelHandler>(nameof(FormattedText), MapText);
26
LabelHandler
.Mapper.ReplaceMapping<Label, ILabelHandler>(nameof(LineBreakMode), MapLineBreakMode);
27
LabelHandler
.Mapper.ReplaceMapping<Label, ILabelHandler>(nameof(MaxLines), MapMaxLines);
31
LabelHandler
.Mapper.ModifyMapping<Label, ILabelHandler>(nameof(ILabel.Font), MapFont);
32
LabelHandler
.Mapper.ModifyMapping<Label, ILabelHandler>(nameof(TextColor), MapTextColor);
35
LabelHandler
.Mapper.ModifyMapping<Label, ILabelHandler>(nameof(TextDecorations), MapTextDecorations);
36
LabelHandler
.Mapper.ModifyMapping<Label, ILabelHandler>(nameof(CharacterSpacing), MapCharacterSpacing);
37
LabelHandler
.Mapper.ModifyMapping<Label, ILabelHandler>(nameof(LineHeight), MapLineHeight);
51
public static void MapTextType(
LabelHandler
handler, Label label) =>
69
MapTextDecorations(handler, label, (h, v) =>
LabelHandler
.MapTextDecorations(handler, label));
72
MapCharacterSpacing(handler, label, (h, v) =>
LabelHandler
.MapCharacterSpacing(handler, label));
75
MapLineHeight(handler, label, (h, v) =>
LabelHandler
.MapLineHeight(handler, label));
78
MapFont(handler, label, (h, v) =>
LabelHandler
.MapFont(handler, label));
81
MapTextColor(handler, label, (h, v) =>
LabelHandler
.MapTextColor(handler, label));
83
public static void MapTextDecorations(
LabelHandler
handler, Label label) =>
86
public static void MapCharacterSpacing(
LabelHandler
handler, Label label) =>
89
public static void MapLineHeight(
LabelHandler
handler, Label label) =>
92
public static void MapFont(
LabelHandler
handler, Label label) =>
95
public static void MapTextColor(
LabelHandler
handler, Label label) =>