Property IsUsingDarkBackground
IsUsingDarkBackground
Returns true if the background is darker than foreground. This is used by AppearanceIsDark if there is no platform-specific way to determine whether a dark mode is being used and is generally not very useful to call directly.
public static bool IsUsingDarkBackground { get; }