view_model_main_screen_view_modelMainScreenViewModel constructorcurrentPageIndex propertyOn this pagecurrentPageIndex property int currentPageIndex read / write var for current page in index. Implementation int currentPageIndex = 0;