Given the following:
- setting IsTabStop to false on a ContentControl will not prevent its content from acting as a tab-stop
- setting IsTabStop to true will result in an invisible tab-stop, which does nothing, in your application
I have the following two questions:
- Why is IsTabStop true by default for the ContentControl
- Why would I ever want the ControlControl to act as a tab-stop?
Douglas is correct
ContentControlsimply inherits the default value ofIsTabStopfromControl. Also there is no good reason to assume that the value oftrueis less valid for aContentControlthan it is forControl.For example, you might have a control that expects its content be something graphical such a set of
Shapeelements or anImage. However your control may perform certain operations on the content when the user presses specific keys.