Пример #1
0
        private void RemoveUser_Click(object sender, RoutedEventArgs e)
        {
            IconButton       button    = sender as IconButton;
            NetworkViewModel viewModel = button.CommandParameter as NetworkViewModel;

            viewModel?.RemoveGroup(button.DataContext as Group);
        }