Expression > 論壇首頁 > Expression Blend + SketchFlow > How to make a WPF SketchFlow project into Full screen?
發問發問
 

提議的解答How to make a WPF SketchFlow project into Full screen?

  • 2009年11月5日 下午 11:40U_luke 使用者勳章使用者勳章使用者勳章使用者勳章使用者勳章
     
    Please, Anyone knows how to make a WPF SketchFlow project into Full screen?
    This project is not using for a web site.
    I want to use the project as an user interface application on a touch_screen monitor.
    So I would like it is displayed into a full screen style.
    How to? please.
    Thanks a lot advance.

    Luke


所有回覆

  • 2009年11月18日 上午 06:32D. Matsumoto 使用者勳章使用者勳章使用者勳章使用者勳章使用者勳章
     提議的解答包含代碼
    Just change it in the code-behind!  After the call to InitializeComponent(), add a couple more lines like these:

    this.Width = System.Windows.SystemParameters.PrimaryScreenWidth;
    this.Height = System.Windows.SystemParameters.PrimaryScreenHeight
  • 2009年11月25日 上午 12:14U_luke 使用者勳章使用者勳章使用者勳章使用者勳章使用者勳章
     
    Thank you very much for your help.
    But I think this only works for WPF type, not WPF + SketchFlow.
    Am I wrong?
    Thanks again
    Luke
  • 2009年11月25日 下午 02:43D. Matsumoto 使用者勳章使用者勳章使用者勳章使用者勳章使用者勳章
     
    Did you try it?
  • 22 小時 6 分鐘前U_luke 使用者勳章使用者勳章使用者勳章使用者勳章使用者勳章
     包含代碼
    Yes, I did try.
    SketchFlow does not support these commands:
    this.Width = System.Windows.SystemParameters.PrimaryScreenWidth;
    this.Height = System.Windows.SystemParameters.PrimaryScreenHeight
    Because this works for one window or one screen.
    SketchFlow projects have more than one screens normally.
    I put these two command into one window, then F5.
    pop up many error messages.
    So, is it working on yours?
    anything wrong here.
    Thanks a lot for your help.
    Luke

  • 14 小時 49 分鐘前D. Matsumoto 使用者勳章使用者勳章使用者勳章使用者勳章使用者勳章
     
    Yes, it worked fine for me.  Note that I missed a semi-colon on the 2nd line, so that would give you a compiler error.
  • 2 小時 35 分鐘前U_luke 使用者勳章使用者勳章使用者勳章使用者勳章使用者勳章
     
    Thank you very much for your help.
    It works.
    But Two problems:
    1) all the components are not increasing their size as the screen increasing(How could I fix this? thanks).

    2)I might not make it clear. Actually, I am looking for a windowless full screen. And also I donot want the SKETCHFLOW PLAY.

    I think it can be done.
    Just I do not know how.
    Please help (^0^)
    Thanks a lot.