Skip to content

Why pointer events are not triggered in custom control? #19260

Discussion options

You must be logged in to vote

The control will receive pointer event with IsHitTestVisible (usually true) and with a non-null (non set) Background property. (usually not set)

I have ended up by always setting up Background="Transparent" in my UserControl template code.

Replies: 2 comments 5 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
5 replies
@jyswjjgdwtdtj
Comment options

@maxkatz6
Comment options

@jyswjjgdwtdtj
Comment options

@LaurentInSeattle
Comment options

@maxkatz6
Comment options

Answer selected by jyswjjgdwtdtj
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants