Beispiel #1
0
        public async Task <bool> Refresh()
        {
            if (PagingStyle == PagingStyle.LoadMore)
            {
                Data = new List <DisplayableItem <TItem> >();
            }

            await UpdateCurrentData();

            await OnRefresh.InvokeAsync();

            return(string.IsNullOrEmpty(ErrorText));
        }
Beispiel #2
0
 private void DoOnMaximize(MouseEventArgs args)
 {
     IsMaximized = !IsMaximized;
     OnRefresh.InvokeAsync(new Tuple <ICardTools, MouseEventArgs>(this, args));
 }
Beispiel #3
0
 private void DoOnRefresh(MouseEventArgs args)
 {
     OnRefresh.InvokeAsync(new Tuple <ICardTools, MouseEventArgs>(this, args));
 }