Skip to main content
.NET API Catalog
  • Browse
  • Search
  • Diff
  • Others
    Feature Usage Stats
    Version Source
  • .NET Upgrade Planner
  1. Catalog
  2. Microsoft.Maui.Controls
  3. Span
  4. Span()
  • Span
    • BackgroundColorProperty
    • CharacterSpacingProperty
    • FontAttributesProperty
    • FontAutoScalingEnabledProperty
    • FontFamilyProperty
    • FontSizeProperty
    • LineHeightProperty
    • StyleProperty
    • TextColorProperty
    • TextDecorationsProperty
    • TextProperty
    • TextTransformProperty
    • Span()
    • BackgroundColor
    • CharacterSpacing
    • FontAttributes
    • FontAutoScalingEnabled
    • FontFamily
    • FontSize
    • LineHeight
    • Style
    • Text
    • TextColor
    • TextDecorations
    • TextTransform
    • OnBindingContextChanged()
    • UpdateFormsText(String, TextTransform)
    • ToNSAttributedString(Span, IFontManager, Double, TextAlignment, Font?, Color, TextTransform)
    • ToRun(Span, IFontManager)
    • ToRunAndColorsTuple(Span, IFontManager, Font?, Color, TextTransform)
net7.0
namespace Microsoft.Maui.Controls
{
    [ContentProperty("Text")]
    public class Span : GestureElement, IDecorableTextElement, IFontElement
    {
        public Span();
    }
}
.NET
6.07.0
Information specific to net7.0
Assembly

Microsoft.Maui.Controls , Version=1.0.0.0, PublicKeyToken=

Referencing

Requires all:

  • You need to have the workload maui installed.

  • Your project needs to set <UseMaui>True</UseMaui>.

Platform Restrictions

This API is supported on all platforms.

  • Built-in API
  • Package-provided API
Search

10/15/2026
This site is managed by Microsoft | © 2026 Microsoft. All rights reserved.
  • Privacy Statement
  • Consumer Health Privacy
  • Terms of Use
  • Contact Us
  • Hosted on Microsoft Azure
  • Manage cookies
  • Your Privacy Choices
Oops, we couldn't process your request. Reload 🗙