protected void UpdateLowerCaseStringValue(IReceiveValueFromArgs args) { var val = (string)args.NewValue; if (val != null) { val = val.ToLower(); } this.LowerCase = val; }
protected void OnEditModeChanged(IReceiveValueFromArgs args) { if (args.GetNewValue <bool>()) { OnBeginEdit(); } else { OnEndEdit(); } }
/// <summary> /// <see cref="RecordBase.UpdateContent(IReceiveValueFromArgs)" /> /// </summary> protected override void UpdateContent(IReceiveValueFromArgs args) { }
/// <summary> /// Updates the <see cref="RecordBase.Content" /> property. /// </summary> /// <param name="args">The arguments from the changed property.</param> protected abstract void UpdateContent(IReceiveValueFromArgs args);