Esempio n. 1
0
        internal bool Edit <T>(Scalar <T> scalar, T value)
        {
            Debug.Assert(scalar != null && scalar.Container == this);

            _owner.SuspendInvalidateView();
            BeginEdit();
            var result = scalar.SetValue(value);

            _owner.OnEdit(scalar);
            _owner.ResumeInvalidateView();
            return(result);
        }