Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
70
Disable Text Edit in Navigation Bar
posted

I was wondering how I can stop the user from editing the text in the UltraNavigationBar. That is, I only want dropdowns for navigation. I have only a few items in my location structure and typing does not seem to be convenient here.

Parents
  • 1225
    Verified Answer
    Offline posted

    Hi Mehdi,
    The EnteringEditMode event occurs before an edit mode session begins and the event can be canceled to prevent the edit mode session from occurring.

    private void ultraNavigationBar1_EnteringEditMode(object sender, Infragistics.Win.Misc.UltraWinNavigationBar.CancelableEditModeEventArgs e)
    {
    e.Cancel = true;
    }

    Thanks,
    Josheela

Reply Children
No Data