It's really nice knowing I can count on you...
public event EventHandler CustomPropertyChanged;protected virtual void OnCustomPropertyChanged(EventArgs e){ if (CustomPropertyChanged != null) { CustomPropertyChanged(e); }}
[all of the necessary attributes]public string CustomProperty{ get { return _customProperty; } set { if (_customProperty != value) { _customProperty = value; OnCustomPropertyChanged(EventArgs.Empty); } }}
or within the property
I have a string custom property in a BO which I bind to a MicroFour.StrataFrame.UI.Windows.Forms.DevEx.TextEdit.
When setting the value of the property at run-time, with code
Customer.CustomProperty = "SomeValue";
the control does not show the changed value. Is it something I'm not doing right? BindingUpdateMode and ControlSourceUpdateMode are both OnPropertyChanged.
I have tried this with your DevEx sample application, and does not work there either.