If the OversizedNumberSpinner control is placed on a tab (not the first tab) in a tab control. It will throw NullReference exception. Additional null checks required for m_valueTextBox (LoadedHandler / UnloadedHandler.)