You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Note: Please generate a new Bug for the form borders with a specific example just for that
Are the KForm borders messed up?
Comment based on Original title and comment in original description. This fix is "Just" for the DataGrid borders (Cell's / rows / headers)
For KryptonForm look at PaletteBorder.cs
public Color Color1
{
get => _storage?.BorderColor1 ?? Color.Empty;
set
{
if (_storage != null)
{
if (_storage.BorderColor1 != value)
{
_storage.BorderColor1 = value;
// add this to correct behaviour.
if (Draw == InheritBool.True)
{
OnPropertyChanged("Color1");
PerformNeedPaint();
}
}
}
else
{
if (value != Color.Empty)
{
_storage = new InternalStorage
{
BorderColor1 = value
};
// add this to correct behaviour.
if (Draw == InheritBool.True)
{
OnPropertyChanged("Color1");
PerformNeedPaint();
}
}
}
}
}
It appears that the borders can be turned off by just setting "Draw" to False.
This might be because of the recent fixes, but is this what is required ? @mbsysde99 Please Retest in a nightly Greater than today (353) and reopen if necessary.
For
KryptonForm
look atPaletteBorder.cs
Originally posted by @mbsysde99 in #499 (comment)
The text was updated successfully, but these errors were encountered: