scheini,
Add the following code to your command class.
[This code will be generated automatically in the next build]
private IEntity selectedObject;
public override bool OnShow(FrameworkElement visualElement, IDomainObject domainObject)
{
this.selectedObject = domainObject as IEntity;
return base.OnShow(visualElement, domainObject);
}
Best Regards,