private async Task OpenDrawer() { await Task.WhenAll(Backdrop.FadeTo(1, duration), BottomToolbar.TranslateTo(0, 0, duration, Easing.SinIn), ToolbarWrapper.TranslateTo(0, openY, duration, Easing.SinIn)); Backdrop.InputTransparent = false; }
async Task OpenDrawer() { await Task.WhenAll ( Backdrop.FadeTo(1, length: duration), BottomToolbar.TranslateTo(0, openY, length: duration, easing: Easing.SinIn) ); Backdrop.InputTransparent = false; }
async Task CloseDrawer() { await Task.WhenAll ( Backdrop.FadeTo(0, length: duration), BottomToolbar.TranslateTo(0, 260, length: duration, easing: Easing.SinIn) ); Backdrop.InputTransparent = true; }