Exemplo n.º 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));
        }
Exemplo n.º 2
0
 private void DoOnMaximize(MouseEventArgs args)
 {
     IsMaximized = !IsMaximized;
     OnRefresh.InvokeAsync(new Tuple <ICardTools, MouseEventArgs>(this, args));
 }
Exemplo n.º 3
0
 private void DoOnRefresh(MouseEventArgs args)
 {
     OnRefresh.InvokeAsync(new Tuple <ICardTools, MouseEventArgs>(this, args));
 }