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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.