コード例 #1
0
        void UpdateFlyoutForegroundColor(bool init)
        {
            if (init && CircularShell.GetFlyoutForegroundColor(Element).IsDefault)
            {
                return;
            }

            if (_navigationView != null)
            {
                _navigationView.ForegroundColor = CircularShell.GetFlyoutForegroundColor(Element).ToNative();
            }
        }
コード例 #2
0
 void Button_Clicked_1(object sender, EventArgs e)
 {
     CircularShell.SetFlyoutIconBackgroundColor(Shell.Current, (sender as Button).BackgroundColor);
 }
コード例 #3
0
 void Button_Clicked(object sender, EventArgs e)
 {
     CircularShell.SetFlyoutIconBackgroundColor(Shell.Current, Color.Default);
 }
コード例 #4
0
 void UpdateFlyoutIconBackgroundColor()
 {
     _drawer.HandlerBackgroundColor = CircularShell.GetFlyoutIconBackgroundColor(Element).ToNative();
 }