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