public void InitializeEditorElement(InPlaceEditor inPlaceEditor) { if (inPlaceEditor.EditorElement is TextBox textBox) { textBox.SelectAll(); } }
public bool QueryEditorElementFocus(InPlaceEditor inPlaceEditor) { if (!(Keyboard.FocusedElement is DependencyObject obj)) { return(true); } return(obj.FindVisaulAncestor <InPlaceEditor>() == null); }
internal override void Flush(InPlaceEditor element) { var editorElement = element.EditorElement; if (editorElement != null) { _editorInput.Flush((TEditor)editorElement); } }
public bool QueryEditorElementFocus(InPlaceEditor inPlaceEditor) { return(GetMode(inPlaceEditor) == GridCellMode.Edit); }
public bool QueryEditingMode(InPlaceEditor inPlaceEditor) { return(GetMode(inPlaceEditor) == GridCellMode.Edit); }
private static IEnumerable <CommandEntry> GetCommandEnties(ICommandService commandService, InPlaceEditor inPlaceEditor) { return(commandService.GetCommandEntries(inPlaceEditor)); }
public void InitializeInertElement(InPlaceEditor inPlaceEditor) { }
public bool QueryEditingMode(InPlaceEditor inPlaceEditor) { return(inPlaceEditor.IsRowEditing || inPlaceEditor.IsScalarEditing); }