コード例 #1
0
 void SetPreviousPageButtonVisibilityMode(ButtonVisibilityModes mode)
 {
     if (mode == ButtonVisibilityModes.Auto)
     {
         elements.GetPreviousPageButtonVisibilityComboBox().SelectItemByName("AutoPreviousPageButtonVisibilityItem");
     }
     else if (mode == ButtonVisibilityModes.AlwaysVisible)
     {
         elements.GetPreviousPageButtonVisibilityComboBox().SelectItemByName("AlwaysVisiblePreviousPageButtonVisibilityItem");
     }
     else if (mode == ButtonVisibilityModes.HiddenOnEdge)
     {
         elements.GetPreviousPageButtonVisibilityComboBox().SelectItemByName("HiddenOnEdgePreviousPageButtonVisibilityItem");
     }
     else if (mode == ButtonVisibilityModes.None)
     {
         elements.GetPreviousPageButtonVisibilityComboBox().SelectItemByName("NonePreviousPageButtonVisibilityItem");
     }
 }