GithubHelp home page GithubHelp logo

user121238 / wpf-samples Goto Github PK

View Code? Open in Web Editor NEW

This project forked from microsoft/wpf-samples

0.0 0.0 0.0 18.42 MB

Repository for WPF related samples

License: MIT License

JavaScript 0.21% C++ 4.27% C 0.20% C# 94.66% PowerShell 0.60% Batchfile 0.01% Lex 0.01% Visual Basic .NET 0.04%

wpf-samples's Introduction

WPF-Samples

This repo contains the samples that demonstrate the API usage patterns and popular features for the Windows Presentation Foundation in the .NET for Desktop. These samples were initially hosted on MSDN, and we are gradually moving all the interesting WPF samples over to GitHub. All the samples have been retargeted to .NET 6.0.

You can also find an archive of samples targeting .NET 4.7.2 in the netframework branch.

The samples in this repo are generally about illustrating specific concepts and may go against accessibility best practices. However, the team has spent some time illustrating accessibility best practices in a subset of these samples.

For additional WPF samples, see WPF Samples.

License

Unless otherwise mentioned, the samples are released under the MIT license

Help us improve our samples

Help us improve out samples by sending us a pull-request or opening a GitHub Issue

Questions: mail [email protected]

WPF development

These samples require Visual Studio 2022 to build, test, and deploy, and also require the .NET 6 SDK.

Get a free copy of Visual Studio 2022 Community Edition

.NET Core SDK

WPF on .NET has been open-sourced, and is now available on Github

Using the samples

To use the samples with Git, clone the WPF-Samples repository with 'git clone https://github.com/microsoft/WPF-Samples'

After cloning the WPF-Samples respository, there will be two solution files in the root directory: WPF-Samples.sln and WPF-Samples.msbuild.sln

  • To build the samples, open one of the solution files in Visual Studio 2019 and build the solution.
  • Alternatively, navigate to the directory of a sample and build with 'dotnet build' or 'msbuild' specifying the target project file.
  • WPF-Samples.msbuild.sln contains projects that can be built only with msbuild or Visual Studio, and will not compile with dotnet build. These projects contain C++ code, for which there is no support in dotnet build

The easiest way to use these samples without using Git is to download the zip file containing the current version (using the link below or by clicking the "Download ZIP" button on the repo page). You can then unzip the entire archive and use the samples in Visual Studio 2019.

Download the samples ZIP

Notes:

  • Before you unzip the archive, right-click it, select Properties, and then select Unblock.
  • Most samples should work independently
  • By default, all the samples target .NET 6.0. (Installers for the .NET 6 SDK can be found at https://dotnet.microsoft.com/en-us/download)

For more info about the programming models, platforms, languages, and APIs demonstrated in these samples, please refer to the guidance available in MSDN. These samples are provided as-is in order to indicate or demonstrate the functionality of the programming models and feature APIs for WPF.

wpf-samples's People

Contributors

vatsan-madhavan avatar markdharper avatar guimafelipe avatar ayushverma-ms avatar ryalanms avatar arpitmathur avatar dipeshmsft avatar vartikav avatar rladuca avatar singhashish-wpf avatar williamantonrohm avatar mairaw avatar davidshootsms avatar rrelyea avatar korygill avatar changeworld avatar yohskdista avatar hugodahl avatar augustoproiete avatar anjali-wpf avatar thraka avatar andrewst avatar mgbergweiler avatar mshwf avatar dotmorten avatar rub8n avatar sambent avatar carpenterx avatar 1redone avatar prekel avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.