Given the following:
I have the following two questions:
Douglas is correct ContentControl
simply inherits the default value of IsTabStop
from Control
. Also there is no good reason to assume that the value of true
is less valid for a ContentControl
than it is for Control
.
For example, you might have a control that expects its content be something graphical such a set of Shape
elements or an Image
. However your control may perform certain operations on the content when the user presses specific keys.
The ContentControl gets it's IsTabStop property from Control, so all controls can be tab stops, including ContentControls.
I'm not sure why it is true by default for a ContentControl though, probably just because it defaults to true in Control.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With