diff --git a/Samples/WpfExample/BusinessLibrary/PersonEdit.cs b/Samples/WpfExample/BusinessLibrary/PersonEdit.cs index bb6397de47..2065f2a4dc 100644 --- a/Samples/WpfExample/BusinessLibrary/PersonEdit.cs +++ b/Samples/WpfExample/BusinessLibrary/PersonEdit.cs @@ -17,7 +17,7 @@ public int Id set { SetProperty(IdProperty, value); } } - public static readonly PropertyInfo NameProperty = RegisterProperty(nameof(Name)); + public static readonly PropertyInfo NameProperty = RegisterProperty(nameof(Name), "Person Name"); [Required] public string Name { diff --git a/Samples/WpfExample/WpfExample/Pages/PersonEditPage.xaml b/Samples/WpfExample/WpfExample/Pages/PersonEditPage.xaml index 5d4d40c596..2775da47ae 100644 --- a/Samples/WpfExample/WpfExample/Pages/PersonEditPage.xaml +++ b/Samples/WpfExample/WpfExample/Pages/PersonEditPage.xaml @@ -3,6 +3,7 @@ xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" xmlns:d="http://schemas.microsoft.com/expression/blend/2008" + xmlns:csla="clr-namespace:Csla.Xaml;assembly=Csla.Xaml" xmlns:businesslibrary="clr-namespace:BusinessLibrary;assembly=BusinessLibrary" d:DataContext="{d:DesignInstance Type=businesslibrary:PersonEdit}" mc:Ignorable="d" Loaded="UserControl_Loaded" d:DesignHeight="450" d:DesignWidth="800"> @@ -16,7 +17,8 @@ - + +