How to make a WPF SketchFlow project into Full screen? RRS feed

  • Question

  • 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.


    Thursday, November 5, 2009 11:40 PM

All replies

  • 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
    • Proposed as answer by DaveyBoy1138 Wednesday, November 18, 2009 6:32 AM
    Wednesday, November 18, 2009 6:32 AM
  • Thank you very much for your help.
    But I think this only works for WPF type, not WPF + SketchFlow.
    Am I wrong?
    Thanks again
    Wednesday, November 25, 2009 12:14 AM
  • Did you try it?
    Wednesday, November 25, 2009 2:43 PM
  • 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.

    Wednesday, November 25, 2009 11:40 PM
  • 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.
    Thursday, November 26, 2009 6:57 AM
  • 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.

    Thursday, November 26, 2009 7:10 PM
  • 1.  It depends upon your layout container.  If you want resizing in both directions, I'd recommend Grid.  At least, Grid is what I use for 80% of the stuff I do.  If you can tell me what you are actually trying to show in your application, perhaps I can give you some assistance.

    2.  If you don't want the sketchflow player, then I think you have to make a WPF Application.  Sketchflow is intended for rapid GUI prototyping, where your audience can provide feedback, export it, and then you can import their feedback file into your IDE to see what they want changed.
    • Proposed as answer by DaveyBoy1138 Friday, November 27, 2009 5:18 PM
    Friday, November 27, 2009 6:28 AM