共用方式為


TextAttributeExtensions.GetForegroundColor(ITextAttributes) 方法

定義

public:
[System::Runtime::CompilerServices::Extension]
 static System::String ^ GetForegroundColor(Microsoft::Maui::Graphics::Text::ITextAttributes ^ attributes);
public static string GetForegroundColor (this Microsoft.Maui.Graphics.Text.ITextAttributes attributes);
static member GetForegroundColor : Microsoft.Maui.Graphics.Text.ITextAttributes -> string
<Extension()>
Public Function GetForegroundColor (attributes As ITextAttributes) As String

參數

attributes
ITextAttributes

傳回

適用於