I do not understand anything about ContentControl: I have a class that gets from the content control, and overrides it. Innerender method and even though I do not call . The player (drawingcontact) is still providing the content ...
How come?
What am I missing?
Thank you, Eden
Only the initial controls that are directly attracted to the device , Such as border
or TextBlock
override overrider
because most controls are only a combination of those preferences, they are not directly attracted. Are there. Instead, they are their children so they are at a good position and size.
What do you need to override MeasureOverride
and ArrangeOverride
.
It's being said, if you do not want to render anything, then better to set the visibility
to collapsed
.