/// <summary> /// Remove Binding /// </summary> public void UnBind() { if (_property != null) { _property.UnBind(); _property = null; } }
/// <summary> /// Remove Binding /// </summary> public void UnBind() { if (_propertyForRead != null) { _propertyForRead.UnBind(); _propertyForRead = null; } if (_propertyForWrite != null) { _propertyForWrite.UnBind(); _propertyForWrite = null; } tbValue.Text = string.Empty; OnValueChanged = null; OnApplyValue = null; Enabled = false; }