Xamarin.Forms by Microsoft

<PackageReference Include="Xamarin.Forms" Version="4.6.0.379-pre1" />

.NET API 1,309,808 bytes

 Span

Represents a section of a FormattedString.

Backing store for the BackgroundColor property.

Backing store for the FontAttributes property.

public static readonly BindableProperty FontFamilyProperty

Backing store for the FontFamily property.

public static readonly BindableProperty FontProperty

Backing store for the Font property.

public static readonly BindableProperty FontSizeProperty

Backing store for the FontSize property.

Backing store for the ForegroundColor property.

public static readonly BindableProperty LineHeightProperty

Backing store for the LineHeight bindable property.

public static readonly BindableProperty StyleProperty

Backing store for the Style property.

public static readonly BindableProperty TextColorProperty

Backing store for the TextColor property.

The BindableProperty associated with the TextDecorations property.

public static readonly BindableProperty TextProperty

Backing store for the Text property.

public Color BackgroundColor { get; set; }

Gets or sets the Color of the span background.

public double CharacterSpacing { get; set; }

public Font Font { get; set; }

Gets or sets the Font for the text in the span.

public FontAttributes FontAttributes { get; set; }

Gets a value that indicates whether the font for the span is bold, italic, or neither.

public string FontFamily { get; set; }

Gets the font family to which the font for the text in the span belongs.

public double FontSize { get; set; }

Gets the size of the font for the text in the span.

public Color ForegroundColor { get; set; }

Gets or sets the Color for the text in the span.

public double LineHeight { get; set; }

Gets or sets the multiplier to apply to the default line height when displaying text.

public Style Style { get; set; }

Gets or sets the Style to apply to the span.

public string Text { get; set; }

Gets or sets the text of the span.

public Color TextColor { get; set; }

Gets or sets the text color.

public TextDecorations TextDecorations { get; set; }

Gets or sets the TextDecorations applied to this span.

public Span()