/// <summary>
 /// Gets the lightweight control for this entry.
 /// </summary>
 /// <returns>Lightweight control.</returns>
 public override LightweightControl GetLightweightControl(CommandBarLightweightControl commandBarLightweightControl, bool rightAligned)
 {
     if (commandBarLabelLightweightControl == null)
     {
         commandBarLabelLightweightControl = new CommandBarLabelLightweightControl(text);
     }
     return(commandBarLabelLightweightControl);
 }
 /// <summary>
 /// Gets the lightweight control for this entry.
 /// </summary>
 /// <returns>Lightweight control.</returns>
 public override LightweightControl GetLightweightControl(CommandBarLightweightControl commandBarLightweightControl, bool rightAligned)
 {
     if (commandBarLabelLightweightControl == null)
         commandBarLabelLightweightControl = new CommandBarLabelLightweightControl(text);
     return commandBarLabelLightweightControl;
 }