protected void SetFirstPageButtonVisibilityMode(ButtonVisibilityModes mode)
 {
     if (mode == ButtonVisibilityModes.AlwaysVisible)
     {
         elements.GetFirstPageButtonVisibilityComboBox().SelectItemByName("AlwaysVisibleFirstPageButtonVisibilityItem");
     }
     else if (mode == ButtonVisibilityModes.HiddenOnEdge)
     {
         elements.GetFirstPageButtonVisibilityComboBox().SelectItemByName("HiddenOnEdgeFirstPageButtonVisibilityItem");
     }
     else if (mode == ButtonVisibilityModes.None)
     {
         elements.GetFirstPageButtonVisibilityComboBox().SelectItemByName("NoneFirstPageButtonVisibilityItem");
     }
 }