You can use the
CommandParameter
property to pass an object into the
Execute(Object);
command. In this case it sounds like you want to pass in the object which has been bound to the forms, something like:
<Button Command="SaveCommand" CommandParameter="{Binding}" />
public void Execute(object? parameter)
{
var person = parameter as Person;
person.Name;
person.Age;
}