public virtual string GetShortText(IPalette palette) { if (KryptonCommand != null) return KryptonCommand.Text; else if ((Text.Length > 0) || !AllowInheritText) return Text; else return palette.GetButtonSpecShortText(_type); }
/// <summary> /// Gets the content short text. /// </summary> /// <returns>String value.</returns> public string GetShortText() { // Get value from button spec passing inheritence redirector return(_buttonSpec.GetShortText(_redirector)); }