Hi,
My code is:
<propgrid:PropertyGrid x:Uid="PropertiesUserControl" x:Name="PropertiesUserControl" SelectedObject="{Binding SelectedObject}">
<propgrid:PropertyGrid.PropertyEditors>
<propgrid:DialogTextBoxPropertyEditor PropertyName="Path"/>
</propgrid:PropertyGrid.PropertyEditors>
</propgrid:PropertyGrid>
and in my viewModel I define my properties like this:
[LocalizedCategory("General")]
[LocalizedDisplayName("DisplayControlName")]
[LocalizedDescription("DescControlName")]
public string ControlName
{
get { return _controlName; }
set
{
_controlName = value;
RaisePropertyChanged("ControlName");
}
}
I can't figure out, how can I set binding mode for all properties to OneWay in propertyGrid?
Thank you in advance