TextAttributeExtensions.SetForegroundColor Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- attributes
- Dictionary<TextAttribute,String>
- value
- String
Applies to
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.