TextAttributeExtensions.SetForegroundColor Methode
Definition
Wichtig
Einige Informationen beziehen sich auf Vorabversionen, die vor dem Release ggf. grundlegend überarbeitet werden. Microsoft übernimmt hinsichtlich der hier bereitgestellten Informationen keine Gewährleistungen, seien sie ausdrücklich oder konkludent.
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)
Parameter
- attributes
- Dictionary<TextAttribute,String>
- value
- String