public override void UpdateKeyframeMenu(KeyframeView kf) { base.UpdateKeyframeMenu(kf); //also update the value of the keyframe menu var item = (SvgValueWidget) KeyframeMenu.GetItem("Value"); item.Value = (kf as ValueKeyframeView).Model.Value.Value; item = (SvgValueWidget) KeyframeMenu.GetItem("Ease"); item.Value = (kf as ValueKeyframeView).Model.Ease.Value; }
public override void UpdateKeyframeMenu(KeyframeView kf) { base.UpdateKeyframeMenu(kf); //also update the value of the keyframe menu // var item = (SvgStringWidget) KeyframeMenu.GetItem("Value"); // item.Caption = (kf as StringKeyframeView).Model.Text.Value; }
public virtual void UpdateKeyframeMenu(KeyframeView kf) { var item = (SvgValueWidget) KeyframeMenu.GetItem("Time"); item.Value = kf.Model.Time.Value; }