private void DragDetector_MouseUp(Point obj) { if (isActive && Math.Abs(Model.Begin - Model.End) > 15) { SectionSelected?.Invoke(this, Model); } }
private async Task OnSectionSelected(SectionSelected message) { try { await DoOnUiDispatcherAsync(() => { Pages.Clear(); message.Section.Pages.ForEach(page => Pages.Add(page)); }); } catch (Exception ex) { Log.Msg(this, l => l.Error(ex)); } }
private void OnSectionSelected(SectionSelected message) { _selectedSection = message.Section; }
private void OnSectionSelected(SectionSelected obj) { IsAnyPageSelected = false; }
private void OnSectionSelected(SectionSelected message) { IsAnySectionSelected = true; }