/// <summary>
/// Gets or sets a value indicating whether the window is modal or not.
+ /// The modal property of a window requires that it be set to a parent window.
+ /// The window modal function operates on the specified parent window.
/// </summary>
[EditorBrowsable(EditorBrowsableState.Never)]
public bool IsModal
break;
case KEY_NUM_6:
+ log.Fatal(tag, $"Modal window Test");
+ if(mainWin.IsModal)
+ {
+ log.Fatal(tag, $"current modal is true and change to false");
+ subWindow.Unparent();
+ subWindow.IsModal = false;
+ }
+ else
+ {
+ log.Fatal(tag, $"current modal is false and change to true");
+ subWindow.SetParent(mainWin);
+ subWindow.IsModal = true;
+ }
break;
case KEY_NUM_7:
+ log.Fatal(tag, $"Always On Top Window Test");
+ if(mainWin.IsAlwaysOnTop)
+ {
+ log.Fatal(tag, $"current AlwaysOnTop is true and change to false");
+ subWindow.IsAlwaysOnTop = false;
+ }
+ else
+ {
+ log.Fatal(tag, $"current AlwaysOnTop is false and change to true");
+ subWindow.IsAlwaysOnTop = true;
+ }
break;
case KEY_NUM_8: