locked
Disable "X" in upper right corner of child window RRS feed

  • Question

  • Is there a way to disable the "x" and or hide it in a child window.

    I want to control my users dismissing the window.

    Thursday, September 23, 2010 11:59 AM

Answers

  • ChildWindow has a HasCloseButton property.

    Thursday, September 23, 2010 12:04 PM

All replies

  • ChildWindow has a HasCloseButton property.

    Thursday, September 23, 2010 12:04 PM
  • private void ChildWindow_Closing(object sender, System.ComponentModel.CancelEventArgs e)
    { 
       e.Cancel = true;
    }


    Thursday, September 23, 2010 12:04 PM