using Core.Common.Gui;
using Core.Common.Utils;
using Ringtoets.Integration.Data;
using Ringtoets.Integration.Forms.Properties;
namespace Ringtoets.Integration.Forms.PropertyClasses
{
///
/// ViewModel of for properties panel.
///
[ResourcesDisplayName(typeof(Resources), "DikeAssessmentSection_DisplayName")]
public class DikeAssessmentSectionProperties : ObjectProperties
{
[ResourcesCategory(typeof(Resources), "Categories_General")]
[ResourcesDisplayName(typeof(Resources), "DikeAssessmentSection_Name_DisplayName")]
[ResourcesDescription(typeof(Resources), "DikeAssessmentSection_Name_Description")]
public string Name
{
get
{
return data.Name;
}
set
{
data.Name = value;
data.NotifyObservers();
}
}
}
}