USe Attached properties through code and xaml. Attached properties are usually properties attached by parent elements to its child elemets so that the child elemnts can say something about themseleves to their parent
Content Allignment