コード例 #1
0
 private void Channel_OnTapped(object sender, EventArgs e)
 {
     (accountChannelsView.BindingContext as Cloud).Account.SelectedChannel =
         (IContentItem)((TappedEventArgs)e).Parameter;
     MessagingCenterManager.ShowPopup(new ChannelLoginPopup
     {
         BindingContext = (accountChannelsView.BindingContext as Cloud).Account
     });
 }
コード例 #2
0
        public async void ContactSupportClick(object sender, EventArgs args)
        {
            Close();
            await MessagingCenterManager.CloseAllPopups();

            if (BindingContext is MediaContent)
            {
                (BindingContext as MediaContent).Account.SubmitSupportRequest.Execute(null);
            }
        }