/// <summary>
        /// Merges editor row binding into <see cref="InPlaceEditor"/>, with inert row binding.
        /// </summary>
        /// <typeparam name="TEditor">The element type of the editor row binding.</typeparam>
        /// <typeparam name="TInert">The element type of the inert row binding.</typeparam>
        /// <param name="editorRowBinding">The editor row binding.</param>
        /// <param name="inertRowBinding">The inert row binding.</param>
        /// <returns>The row binding object of <see cref="InPlaceEditor"/>.</returns>
        public static RowBinding <InPlaceEditor> MergeIntoInPlaceEditor <TEditor, TInert>(this RowBinding <TEditor> editorRowBinding, RowBinding <TInert> inertRowBinding)
            where TEditor : UIElement, new()
            where TInert : UIElement, new()
        {
            var rowInput = VerifyEditorBinding(editorRowBinding, nameof(editorRowBinding));

            inertRowBinding.VerifyNotNull(nameof(inertRowBinding));
            return(MergeIntoInPlaceEditor(rowInput, inertRowBinding));
        }
Example #2
0
 /// <summary>
 /// Returns the operation that set initial focus to explicit row binding.
 /// </summary>
 /// <param name="binding">The row binding.</param>
 /// <returns>The result <see cref="InitialFocus"/>.</returns>
 public static InitialFocus Explicit(RowBinding binding)
 {
     binding.VerifyNotNull(nameof(binding));
     return(new MoveToRowBinding(binding));
 }