Share via


ITextElement.OnTextColorPropertyChanged(Color, Color) Method

Definition

Called when the TextColor property changes.

public:
 void OnTextColorPropertyChanged(Microsoft::Maui::Graphics::Color ^ oldValue, Microsoft::Maui::Graphics::Color ^ newValue);
public void OnTextColorPropertyChanged(Microsoft.Maui.Graphics.Color oldValue, Microsoft.Maui.Graphics.Color newValue);
abstract member OnTextColorPropertyChanged : Microsoft.Maui.Graphics.Color * Microsoft.Maui.Graphics.Color -> unit
Public Sub OnTextColorPropertyChanged (oldValue As Color, newValue As Color)

Parameters

oldValue
Color

The old value of the property.

newValue
Color

The new value of the property.

Remarks

Implementors should implement this method explicitly.

Applies to