共用方式為


TextAttributeExtensions.SetBackgroundColor Method

Definition

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

Parameters

value
String

Applies to