public override string ToString() { if (Focus == true) { return($"->{InvokeCommand.ToString().Replace("Option", string.Empty)}. {Text}"); } else { return($"{InvokeCommand.ToString().Replace("Option", string.Empty)}. {Text}"); } }
public override string ToString() { return(string.Format("{0}. {1}", InvokeCommand.ToString().Replace("Option", string.Empty), Text)); }