Partager via


TextAttributesExtensions.GetBoolAttribute Method

Definition

public static bool GetBoolAttribute (this Microsoft.Maui.Graphics.Text.ITextAttributes attributes, Microsoft.Maui.Graphics.Text.TextAttribute type, bool defaultValue = false);
static member GetBoolAttribute : Microsoft.Maui.Graphics.Text.ITextAttributes * Microsoft.Maui.Graphics.Text.TextAttribute * bool -> bool
<Extension()>
Public Function GetBoolAttribute (attributes As ITextAttributes, type As TextAttribute, Optional defaultValue As Boolean = false) As Boolean

Parameters

attributes
ITextAttributes
defaultValue
Boolean

Returns

Applies to