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