Home / FAQ / FAQs / WPF / TextBox / How do I hide the default context menu of the TextBox?
Simply set the ContextMenu property to null as follows:
<TextBox ContextMenu='{x:Null}'>Testing</TextBox>
Platform BlazorASP.NETWinFormsWPF
Question *
Answer (Optional)
Email (Optional)
Email address is only for further clarification on your FAQ request. It will not be used for any other purpose.
Please leave this field empty.
Share with