Beispiel #1
0
 private void ChatDetailsControl_Loaded(object sender, RoutedEventArgs e)
 {
     if (sender is ChatDetailsControl detailsControl)
     {
         this.detailsControl = detailsControl;
     }
 }
        private MUCChatInfoTable getMUCInfo(DependencyObject container)
        {
            UIElement element = getParentChatDetailsControl(container as UIElement);

            if (element != null)
            {
                ChatDetailsControl detailsControl = element as ChatDetailsControl;
                return(detailsControl.MUCInfo);
            }
            return(null);
        }
        private void ResendMsg_mfi_Click(object sender, RoutedEventArgs e)
        {
            ChatDetailsControl chatDetails = VisualTree.FindAscendant <ChatDetailsControl>(this);

            SpeechBubbleContentViewModel.ResendMessage(chatDetails?.VIEW_MODEL);
        }