/// <summary>
 /// Permet de supprimer un élément de la CommandBar
 /// </summary>
 /// <param name="element"></param>
 public static void RemoveElement(CommandBarElement element)
 {
     if (element != null)
     {
         if (element.Emplacement == CommandBarEmplacement.Primary)
         {
             _commandBar.PrimaryCommands.Remove(element.Element);
         }
         else
         {
             _commandBar.SecondaryCommands.Remove(element.Element);
         }
     }
 }
 /// <summary>
 /// Permet de savoir si un element existe déja dans la CommandBar
 /// </summary>
 /// <param name="element"></param>
 /// <returns></returns>
 public static bool Exist(CommandBarElement element)
 {
     if (element != null)
     {
         if (element.Emplacement == CommandBarEmplacement.Primary)
         {
             return _commandBar.PrimaryCommands.Any(e => e == element.Element);
         }
         return _commandBar.SecondaryCommands.Any(e => e == element.Element);
     }
     return false;
 }