Exemplo n.º 1
0
        private static void OnItemChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            RadDataForm form = d as RadDataForm;

            if (form.IsTemplateApplied)
            {
                form.Model.OnItemChanged(e.NewValue);
            }
        }
Exemplo n.º 2
0
        private static void OnPropertyIteratorModeChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            RadDataForm form = d as RadDataForm;

            form.iteratorMode = (PropertyIteratorMode)e.NewValue;
        }
Exemplo n.º 3
0
        private static void OnCommitModeChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            RadDataForm owner = d as RadDataForm;

            owner.Model.OnCommitModeChanged((CommitMode)e.NewValue, (CommitMode)e.OldValue);
        }
Exemplo n.º 4
0
        private static void OnIsReadOnlyChanged(DependencyObject d, DependencyPropertyChangedEventArgs e)
        {
            RadDataForm owner = d as RadDataForm;

            owner.Model.OnIsReadOnlyChanged((bool)e.OldValue, (bool)e.NewValue);
        }