Refactored sheet control xaml