Пример #1
0
        protected override FrameworkElement CreateDateTimeEditor()
        {
            var picker = new DateTimeInputControl();

            picker.Format = DateTimeFormat.LongDate;
            return(picker);
        }
Пример #2
0
        public void CustomizeView(DateTime model, NodeView nodeView)
        {
            var dtInputControl = new DateTimeInputControl {
                DataContext = model
            };

            nodeView.inputGrid.Children.Add(dtInputControl);
        }