Method GetDefaultBorderColor
GetDefaultBorderColor(bool)
Gets default border color.
public static Color GetDefaultBorderColor(bool isDarkBackground)
Parameters
isDarkBackground
boolWhether control has dark background.
Returns
GetDefaultBorderColor(Control?)
Gets default border color if no colors are specified for the border.
public static Color GetDefaultBorderColor(Control? control)
Parameters
control
ControlControl which background color is checked to get whether it is dark.