private void GetApprovalSortByData() { DealsSortByItems.Clear(); DealsSortByItems.Add(new DealsSortByModel { name = Constants.BorrowerlblText, Radiobtnimg = (App.ApprovalSelectedTitle == Constants.BorrowerlblText) ? Constants.RadiobtnSelectImg : Constants.RadiobtnUnselectImg, SortByAscDescbtnimg = (App.AsceDsceNameApproval == true) ? Constants.NameDescendingImg : Constants.NameAcendingImg }); DealsSortByItems.Add(new DealsSortByModel { name = Constants.ApprovalDatelblText, Radiobtnimg = (App.ApprovalSelectedTitle == Constants.ApprovalDatelblText) ? Constants.RadiobtnSelectImg : Constants.RadiobtnUnselectImg, SortByAscDescbtnimg = (App.AsceDsceApproval == true) ? Constants.NumberDescendingImg : Constants.NumberAcendingImg }); DealsSortByItems.Add(new DealsSortByModel { name = Constants.ClearlblText }); }
private void GetApprovalSortByData() { DealsSortByItems.Clear(); DealsSortByItems.Add(new DealsSortByModel { name = Constants.BorrowerlblText, Radiobtnimg = (App.ApprovalSelectedTitle == Constants.BorrowerlblText) ? Constants.RadiobtnSelectImg : Constants.RadiobtnUnselectImg }); DealsSortByItems.Add(new DealsSortByModel { name = Constants.ApprovalDatelblText, Radiobtnimg = (App.ApprovalSelectedTitle == Constants.ApprovalDatelblText) ? Constants.RadiobtnSelectImg : Constants.RadiobtnUnselectImg }); DealsSortByItems.Add(new DealsSortByModel { name = Constants.ClearlblText, Radiobtnimg = (App.ApprovalSelectedTitle == Constants.ClearlblText) ? Constants.RadiobtnSelectImg : Constants.RadiobtnUnselectImg }); }
public void GetDealsSortByData() { DealsSortByItems.Clear(); DealsSortByItems.Add(new DealsSortByModel { name = Constants.BorrowerlblText, Radiobtnimg = (selectedName == Constants.BorrowerlblText) ? Constants.RadiobtnSelectImg : Constants.RadiobtnUnselectImg }); DealsSortByItems.Add(new DealsSortByModel { name = Constants.AmountlblText, Radiobtnimg = (selectedName == Constants.AmountlblText) ? Constants.RadiobtnSelectImg : Constants.RadiobtnUnselectImg }); DealsSortByItems.Add(new DealsSortByModel { name = Constants.DueDatelblText, Radiobtnimg = (selectedName == Constants.DueDatelblText) ? Constants.RadiobtnSelectImg : Constants.RadiobtnUnselectImg }); DealsSortByItems.Add(new DealsSortByModel { name = Constants.ClosingDatelblText, Radiobtnimg = (selectedName == Constants.ClosingDatelblText) ? Constants.RadiobtnSelectImg : Constants.RadiobtnUnselectImg }); }