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();
     }
 }
        protected void UpdateLowerCaseStringValue(IReceiveValueFromArgs args)
        {
            var val = (string)args.NewValue;
            if (val != null)
            {
                val = val.ToLower();
            }

            this.LowerCase = val;
        }
 /// <summary>
 /// <see cref="RecordBase.UpdateContent(IReceiveValueFromArgs)" />
 /// </summary>
 protected override void UpdateContent(IReceiveValueFromArgs args)
 {
 }
Exemple #5
0
 /// <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);