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