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