string text = ((ListBoxItem)ListBox1.SelectedItem).Content.ToString();. Please be sure to use .Content and not .Name. https://stackoverflow.com/ ...
確定! 回上一頁