private void BindContentAlignment(DialogControl content)
{
var hbind = new Binding(HorizontalAlignmentProperty.Name);
hbind.Source = content;
hbind.NotifyOnSourceUpdated = true;
BindingOperations.SetBinding(_presenter, HorizontalAlignmentProperty, hbind);
var vbind = new Binding(VerticalAlignmentProperty.Name);
vbind.Source = content;
vbind.NotifyOnSourceUpdated = true;
BindingOperations.SetBinding(_presenter, VerticalAlignmentProperty, vbind);
}