FormattedStringExtensions
ToNSAttributedString(Label)
ToNSAttributedString(FormattedString, IFontManager, Double, TextAlignment, Font?, Color, TextTransform)
ToNSAttributedString(Span, IFontManager, Double, TextAlignment, Font?, Color, TextTransform)
ToRunAndColorsTuple(Span, IFontManager, Font?, Color, TextTransform)
ToRunAndColorsTuples(FormattedString, IFontManager, Double, TextAlignment, Font?, Color, TextTransform)
UpdateInlines(TextBlock, Label)
UpdateInlines(TextBlock, IFontManager, FormattedString, Double, TextAlignment, Font?, Color, TextTransform)
net7.0-windows10.0.22621
namespace Microsoft.Maui.Controls.Platform
{
public static class FormattedStringExtensions
{
public static IEnumerable<Tuple<?!, ?!, ?!>!>! ToRunAndColorsTuples(this FormattedString! formattedString, IFontManager! fontManager, double defaultLineHeight = 0, TextAlignment defaultHorizontalAlignment = TextAlignment.Start, Font? defaultFont = default, ?? defaultColor = null, TextTransform defaultTextTransform = TextTransform.Default);
}
}
.NET | 6.07.0 |
---|---|
Information specific to net7.0 | |
Platforms | This API is only available when you target a specific platform: |
Windows | 7.08.010.0.1776310.0.1836210.0.1904110.0.2034810.0.2200010.0.22621 |
Information specific to net7.0-windows10.0.22621 | |
Assembly | Microsoft.Maui.Controls , Version=1.0.0.0, PublicKeyToken= |
Referencing | Requires all:
|
Platform Restrictions | This API is only supported on the following platforms:
|
- Built-in API
- Package-provided API