• WPF MainWindow的TopMost,Resizemode


    Topmost -[true,false] The default is false, but if set to true, your Window will stay on top of other windows unless minimized. Only useful for special situations.

    WindowState[Maximized,Minimized,Normal] - Controls the initial window state. It can be either Normal, Maximized or Minimized. The default is Normal, which is what you should use unless you want your window to start either maximized or minimized.

    ResizeMode - [CanMinimize,CanResize,CanResizeWithGrip,NoResize]This controls whether and how the end-user can resize your window. The default is CanResize, which allows the user to resize the window like any other window, either by using the maximize/minimize buttons or by dragging one of the edges. CanMinimize will allow the user to minimize the window, but not to maximize it or drag it bigger or smaller. NoResize is the strictest one, where the maximize and minimize buttons are removed and the window can't be dragged bigger or smaller.

  • 相关阅读:
    ARM(ARM处理器)
    Android系统
    2014-9-17二班----11 web project
    2014-9-17二班----10 web project
    append() 、push() 和pop()的区别
    python hash
    虚拟机卡掉
    虚拟化
    heroinfo_set.all 函数
    encode()和decode()两个函数
  • 原文地址:https://www.cnblogs.com/Fred1987/p/6043258.html
Copyright © 2020-2023  润新知