static TextBox () { IsReadOnlyProperty.AddPropertyChangeCallback (IsReadOnlyChanged); TextProperty.AddPropertyChangeCallback (TextPropertyChanged); }