зеркало из https://github.com/telerik/xaml-sdk.git
28 строки
688 B
C#
28 строки
688 B
C#
using System;
|
|
using System.Linq;
|
|
using System.Windows;
|
|
using FlagEnumEditor;
|
|
|
|
namespace WpfApplication1
|
|
{
|
|
/// <summary>
|
|
/// Interaction logic for MainWindow.xaml
|
|
/// </summary>
|
|
public partial class MainWindow : Window
|
|
{
|
|
public MainWindow()
|
|
{
|
|
InitializeComponent();
|
|
PropertyGrid1.Item = new Employee()
|
|
{
|
|
FirstName = "Sarah",
|
|
LastName = "Blake",
|
|
Occupation = "Supplied Manager",
|
|
StartingDate = new DateTime(2005, 04, 12),
|
|
IsMarried = true,
|
|
Salary = 3500
|
|
};
|
|
}
|
|
}
|
|
}
|