Exemplo n.º 1
0
        private async Task NavigateToRequestPageAsync()
        {
            var requestTabbedPage = new View.RequestTabbedPage();

            requestTabbedPage.BarBackgroundColor = Color.FromHex("#004e75");
            requestTabbedPage.Title = "Leave Request";

            await _navigationService.NavigateToAsync(requestTabbedPage);
        }
Exemplo n.º 2
0
        public LeaveRequestViewModel(ICustomNavigationService navigationService)
        {
            _navigationService = navigationService;
            var requestTabbedPage = new View.RequestTabbedPage();

            requestTabbedPage.BarBackgroundColor = Color.FromHex("#004e75");
            LeaveRequestCommand = new Command(execute: async() =>
            {
                await NavigateToRequestPageAsync();
            });
        }