internal override object CreateEditorContainer(object rowItem, object containerType) { if (!this.CanEdit || containerType != this.GetEditorType(rowItem)) { return(this.CreateContainer(rowItem)); } // return this.CreateEditorContentVisual(); ////TODO: Create value proxy to provide option for delayed update of the values in the VM behind. FrameworkElement content = this.CreateEditorContentVisual(); var host = new EditRowHostPanel(); host.Owner = this.Model.GridView; var validation = new ValidationControl() { ControlPeer = content }; host.Children.Add(content); host.Children.Add(validation); return(new Tuple <FrameworkElement, FrameworkElement, FrameworkElement>(content, host, validation)); }
/// <summary> /// Initializes a new instance of the <see cref="EditRowHostPanelAutomationPeer"/> class. /// </summary> public EditRowHostPanelAutomationPeer(EditRowHostPanel owner) : base(owner) { }