Property Modal
Modal
Determines whether the Toplevel is modal or not.
If set to false
(the default):
- ProcessKey(KeyEvent) events will propagate keys upwards.
- The Toplevel will act as an embedded view (not a modal/pop-up).
If set to true
:
- ProcessKey(KeyEvent) events will NOT propogate keys upwards.
- The Toplevel will and look like a modal (pop-up) (e.g. see Dialog.
public bool Modal { get; set; }