Set IsThreeState property to true and choose ToggleState to Indeterminate.
Office2019Dark:
Office2019Light: