Method AssignDefaultColors
AssignDefaultColors()
Assigns default background and foreground color values based on the current application platform and appearance settings.
protected virtual void AssignDefaultColors()
Remarks
On MAUI platforms, this method sets the background and foreground colors according to the system's light or dark appearance. On other platforms, it configures the control to inherit colors from its parent. Override this method to customize default color assignment behavior for derived controls.