Live Chat Icon For mobile
Live Chat Icon

How do I hide the default context menu of the TextBox?

Platform: WPF| Category: TextBox

Simply set the ContextMenu property to null as follows:

<TextBox ContextMenu='{x:Null}'>Testing</TextBox>

Share with

Related FAQs

Couldn't find the FAQs you're looking for?

Please submit your question and answer.