void SetYAlign(MvvmAspire.Controls.Button element) { Control.VerticalAlignment = UIHelper.ConvertToVerticalAlignment(element.YAlign); }