Partager via


TextAttributeExtensions.SetForegroundColor Method

Definition

public:
[System::Runtime::CompilerServices::Extension]
 static void SetForegroundColor(System::Collections::Generic::Dictionary<Microsoft::Maui::Graphics::Text::TextAttribute, System::String ^> ^ attributes, System::String ^ value);
public static void SetForegroundColor (this System.Collections.Generic.Dictionary<Microsoft.Maui.Graphics.Text.TextAttribute,string> attributes, string value);
static member SetForegroundColor : System.Collections.Generic.Dictionary<Microsoft.Maui.Graphics.Text.TextAttribute, string> * string -> unit
<Extension()>
Public Sub SetForegroundColor (attributes As Dictionary(Of TextAttribute, String), value As String)

Parameters

value
String

Applies to