public string GetShortText()
{
if (_ribbonColorButton.KryptonCommand != null)
{
if (_firstText)
return _ribbonColorButton.KryptonCommand.TextLine1;
else if (!string.IsNullOrEmpty(_ribbonColorButton.KryptonCommand.TextLine2))
return _ribbonColorButton.KryptonCommand.TextLine2;
else
return " ";
}
else if (_firstText)
return _ribbonColorButton.TextLine1;
else if (!string.IsNullOrEmpty(_ribbonColorButton.TextLine2))
return _ribbonColorButton.TextLine2;
else
return " ";
}