Esempio n. 1
0
        protected override FrameworkElement GenerateEditingElement(DataGridCell cell, object dataItem)
        {
            var element = new ForeignKeyPicker()
            {
                PopupView = PopupView,
                PopupViewSelectedIDPath = SelectedIDPath
            };

            element.SetBinding(ForeignKeyPicker.SelectedForeignKeyProperty, Binding);
            return(element);
        }
 private void ActiveForeignKeyPicker(ForeignKeyPicker foreignKeyPicker)
 {
     foreignKeyPicker.IsPopupOpen = true;
 }