728x90
        private void listItemButton_Click(object sender, RoutedEventArgs e)
        {
            // 버튼이 포함된 아이템 선택
            var curItem = ((ListBoxItem)this.listBox.ContainerFromElement((Button)sender)).Content;

            this.listBox.SelectedItem = curItem;
        }

 

728x90
Posted by kjun.kr
,