In this article,Mahesh Sabnis explains how to make use of the public properties bound with
XAML elements.
Source: DotNetCurry.com
Using Binding Mode as TwoWay, the object can be constructed and this object can be send back to the Data access using CommandParameter. For this article, I will be using the ADO.NET EF data access library, which I have created in previous article of Creating Application using Windows Presentation Foundation (WPF) Commanding and ADO.NET Entity Framework – (Part I) Fetching Data
In this article, we will discuss the use of CommandParameters property for passing values from XAML to the data access, using XAML only mechanism.