poshgui.com

  • Home
  • Pricing
  • Documentation
    • Features | Roadmap
    • Changelog
    • Docs
    • Video Tutorials
  • Contact
  • About
  • Login
  • Home
  • Pricing
  • Documentation
    • Features | Roadmap
    • Changelog
    • Docs
    • Video Tutorials
  • Contact
  • About
  • Login

Docs

In-depth how-to’s on PoshGUI features

Popular Search textboxbuttonimagecombopicture

WPF

  • Starting New Project
  • Adding controls
  • Changing properties
  • Layout
  • Adding Events and Logic
  • DataContext
  • Exporting your project
  • Multithreading
  • Multipage Applications
  • Custom Lists
  • Controls
    • Tab Control
    • Grid
    • Border
    • StackPanel
    • ProgressBar

WinForms

  • Exporting your project
  • Starting New project
  • Adding controls
  • Changing Properties
  • Adding Events and logic

General

  • Cross-platform support
  • Code editors Keyboard Shortcuts
  • Why the UI on the site looks different than in runtime
  • Privacy Policy
  • Terms & Conditions
View Categories
  • Home
  • Docs
  • WPF
  • Exporting your project

Exporting your project

This section describes the steps of exporting a project from PoshGUI. The steps are simple and include:

Navigate to the OUTPUT tab.

Under the Themes, you can see a number of options such as None (it’s the default one), IG, Metro, Metro Dark, Office 2010 Blue, and Office 2013.

They are default styles that you may add to change the way your application will look like.

Select any one of them as per your choice.

Next comes Configuration where you can find two toggles.

Multithreaded adds boilerplate code for setting up multithreading in the application.

Hide Console Window, as the name suggests, hides the console window; however, the window still appears for a second.

There are three options to export your project in. The functionality of each is as follows:

  1. COPY – You can simply copy your code and paste in the PowerShell ISE for execution.
  2. PS1 – It downloads the code in PowerShell file format so you can directly execute it from PowerShell CLI.
  3. TXT – It downloads the code in text format from where you can either copy-paste it into the PowerShell ISE or keep it for the record.

Example:

The image below shows the code execution by using COPY and pasting it in PowerShell ISE. Also, the theme Metro Dark is enabled on it.

Still stuck? How can we help?

How can we help?

Updated on February 2, 2022
DataContextMultithreading
We use cookies on our website to give you the most relevant experience by remembering your preferences and repeat visits. By clicking “Accept”, you consent to the use of ALL the cookies.
Do not sell my personal information.
Cookie settingsACCEPT
Manage consent

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the ...
Necessary
Always Enabled
Necessary cookies are absolutely essential for the website to function properly. This category only includes cookies that ensures basic functionalities and security features of the website. These cookies do not store any personal information.
Non-necessary
Any cookies that may not be particularly necessary for the website to function and is used specifically to collect user personal data via analytics, ads, other embedded contents are termed as non-necessary cookies. It is mandatory to procure user consent prior to running these cookies on your website.
SAVE & ACCEPT