public AlignmentSelector() { InitializeComponent(); _currentAlignment = HorizontalAlignment.Left; updateButtons(); alignmentChangedHandler = null; }