WPF 使用DataContext 做爲 Binding的源

class Student { public int Id { get; set; } public string Name { get; set; } public int Age { get; set; } }Xaml中進行綁定 <Window x:Class="Wpf基礎學習.MainWindow" xmlns="htt
相關文章
相關標籤/搜索