Replace ApplyStyle with a more generic Apply.
Add DatePickerHidden property.
Add guard against null reference.
Remove redundant style applying.