共用方式為


TextCell.TextColor Property

Definition

Gets or sets the color to render the primary text. This is a bindable property.

public:
 property Microsoft::Maui::Graphics::Color ^ TextColor { Microsoft::Maui::Graphics::Color ^ get(); void set(Microsoft::Maui::Graphics::Color ^ value); };
public Microsoft.Maui.Graphics.Color TextColor { get; set; }
member this.TextColor : Microsoft.Maui.Graphics.Color with get, set
Public Property TextColor As Color

Property Value

The color of the text.

Remarks

Not all platforms may support transparent text rendering. Using Color.Default will result in the system theme color being used. Color.Default is the default color value.

Applies to