/// <summary>
/// Gets the border width.
/// </summary>
/// <param name="state">Palette value should be applicable to this state.</param>
/// <returns>Border width.</returns>
public int GetBorderWidth(PaletteState state)
{
if (Width != -1)
{
return(Width);
}
else
{
return(_inherit.GetBorderWidth(state));
}
}