mirror of
https://github.com/Stone-Red-Code/docs-desktop.git
synced 2026-09-06 23:43:07 +02:00
* Reset branch for WPF changes * Convert BMP to PNG; fix link-out-of-scope err * Add snippets for WPF... 6794 files!!!! * Add missing snippets * update file updated between migration * Fix paths to include * update breadcrumb and toc * fix index links * fix index links * fix index links * fix markdown
18 lines
391 B
C#
18 lines
391 B
C#
using System.Windows; // Window
|
|
|
|
namespace SDKSample
|
|
{
|
|
public partial class DataBindingWindow : Window
|
|
{
|
|
public DataBindingWindow()
|
|
{
|
|
InitializeComponent();
|
|
|
|
// Create Person data source
|
|
Person person = new Person();
|
|
|
|
// Make data source available for binding
|
|
this.DataContext = person;
|
|
}
|
|
}
|
|
} |