Commit Graph
32 Commits
Author SHA1 Message Date
Tris ShoresandAndy De George 20730bfba9 Content update - Property changed events (user story 1878475) (#1350)
* Add article, toc, and redirects

* Update dotnet-desktop-guide/net/wpf/events/property-change-events.md

Co-authored-by: Andy (Steve) De George <[email protected]>

* Update dotnet-desktop-guide/net/wpf/events/property-change-events.md

Co-authored-by: Andy (Steve) De George <[email protected]>

* Update dotnet-desktop-guide/net/wpf/events/property-change-events.md

Co-authored-by: Andy (Steve) De George <[email protected]>

Co-authored-by: Andy (Steve) De George <[email protected]>
2022-04-13 08:48:02 -07:00
Tris Shores 0baa50f040 Add article, code, toc, and redirects (#1343) 2022-04-04 13:46:22 -07:00
Tris Shores 03760a4124 Content update - Marking routed events as handled, and class handling (user story 1878475) (#1339)
* Add article, code, toc, and redirects

* Minor edits

* Minor edit for clarity
2022-03-24 13:31:48 -07:00
Tris ShoresandAndy De George dd0052ecec Content update - Preview events (user story 1878475) (#1332)
* Add article, toc, and redirects

* Add a prerequisites section to 3 other event articles

* Further edits

* Update dotnet-desktop-guide/net/wpf/toc.yml

Co-authored-by: Andy (Steve) De George <[email protected]>

* Update article links

* Minor clarification

Co-authored-by: Andy (Steve) De George <[email protected]>
2022-03-14 15:26:19 -07:00
Tris Shores d9125bf6ea Content update - Handle events in Visual Basic (user story 1878475) (#1320)
* Add article, toc, and redirects

* Add code snippets

* Fix a note in a prior event article

* Add tip and fix lnk

* Simplify snippet
2022-03-04 10:35:13 -08:00
Tris ShoresandAndy De George 51977cea61 Content update - How to create a custom routed event (user story 1878475) (#1289)
* Add article, redirects, toc

* Update dotnet-desktop-guide/net/wpf/events/how-to-create-a-custom-routed-event.md

Co-authored-by: Andy (Steve) De George <[email protected]>

* Update dotnet-desktop-guide/net/wpf/events/snippets/how-to-create-a-custom-routed-event/csharp/CodeSample.csproj

Co-authored-by: Andy (Steve) De George <[email protected]>

* Update dotnet-desktop-guide/net/wpf/events/snippets/how-to-create-a-custom-routed-event/vb/CodeSampleVb.vbproj

Co-authored-by: Andy (Steve) De George <[email protected]>

* Update dotnet-desktop-guide/net/wpf/events/snippets/how-to-create-a-custom-routed-event/WpfControlLibraryCsharp/WpfControlLibrary.csproj

Co-authored-by: Andy (Steve) De George <[email protected]>

* Use local project references

Co-authored-by: Andy (Steve) De George <[email protected]>
2022-02-10 14:49:46 -08:00
Tris ShoresandAndy De George 8e9afae7f6 Content update - How to add an event handler using code (user story 1878475) (#1287)
* Add article, redirects, toc

* Add alternative event handler assignments (commented)

* Update dotnet-desktop-guide/net/wpf/events/how-to-add-an-event-handler-using-code.md

Co-authored-by: Andy (Steve) De George <[email protected]>

* Update dotnet-desktop-guide/net/wpf/events/how-to-add-an-event-handler-using-code.md

Co-authored-by: Andy (Steve) De George <[email protected]>

* Further edits

Co-authored-by: Andy (Steve) De George <[email protected]>
2022-02-01 14:23:23 -08:00
Tris ShoresandAndy De George e990fbc9a6 Content update - Property value inheritance (user story 1878471) (#1261)
* Add article, code, toc, and redirects

* Resolve vb project issues

* Update .openpublishing.redirection.json

Co-authored-by: Andy (Steve) De George <[email protected]>
2022-01-05 15:16:55 -08:00
Tris Shores cf371fba4c Content update - XAML loading and dependency properties (user story 1878471) (#1257)
* Add article, toc, and redirects

* Add info on use of a callback to run custom logic and resolve merge conflicts
2022-01-05 14:43:43 -08:00
Tris ShoresandAndy De George 96056b1cdf Content update - Safe constructor patterns for DependencyObjects (user story 1878471) (#1254)
* Add article, code projects, and redirects

* Further edits

* Update dotnet-desktop-guide/net/wpf/properties/safe-constructor-patterns-for-dependencyobjects.md

Co-authored-by: Andy (Steve) De George <[email protected]>
2022-01-04 14:35:40 -08:00
Tris ShoresandAndy De George 3bac863f43 Content update - Framework property metadata (user story 1878471) (#1223)
* Add article, snippets, toc, and redirects

* Minor edits

* Make reviewer requested changes

* Section header edit

Co-authored-by: Andy (Steve) De George <[email protected]>
2021-12-07 23:20:09 +00:00
Tris Shores 048ceebd5d Add article, snippets, toc, and redirects (#1233) 2021-12-07 15:15:29 -08:00
Tris Shores 5eff6608b9 Content update - Read-only dependency properties (user story 1878471) (#1230)
* Improve collection-type dp snippets that are readonly.

* Add article, snippets, toc, and redirects

* Minor edit

* Update target framework to .NET 6.0
2021-12-01 15:50:53 -08:00
Tris Shores c72a540a91 Content update - Dependency property callbacks and validation (user story 1878471) (#1210)
* Add article, snippets, toc, and redirects

* Minor edits

* Add code comments
2021-11-15 10:29:16 -08:00
Tris ShoresandAndy De George c065be138a Content update - How to override dependency property metadata (user story 1878471) (#1205)
* Add article, snippets, toc, and redirects

* Minor edit to dependency-property-metadata article

* Update dotnet-desktop-guide/net/wpf/properties/how-to-override-metadata-for-a-dependency-property.md

Co-authored-by: Andy (Steve) De George <[email protected]>

Co-authored-by: Andy (Steve) De George <[email protected]>
2021-11-05 08:41:08 -07:00
Tris Shores 7d5a5bd5b9 Add article, toc, and redirects (#1203) 2021-11-03 14:05:39 -07:00
Tris ShoresandAndy De George db80384cb9 Content update - Custom dependency properties (user story 1878471) (#1189)
* Add article, code projects, toc, and redirects

* Update dotnet-desktop-guide/net/wpf/properties/custom-dependency-properties.md

Co-authored-by: Andy (Steve) De George <[email protected]>

* Update dotnet-desktop-guide/net/wpf/properties/custom-dependency-properties.md

Co-authored-by: Andy (Steve) De George <[email protected]>

Co-authored-by: Andy (Steve) De George <[email protected]>
2021-10-28 13:46:54 -07:00
Tris ShoresandAndy De George cdf2334a60 Add article, code projects, toc, and redirects (#1180)
Co-authored-by: Andy (Steve) De George <[email protected]>
2021-10-22 11:09:30 -07:00
Tris ShoresandAndy De George 4f0101b05c Add article, code projects, toc, and redirects (#1178)
Co-authored-by: Andy (Steve) De George <[email protected]>
2021-10-22 10:23:20 -07:00
Tris Shores cf712b82b0 Content update - Dependency properties collection (user story 1878471) (#1173)
* Add code snippets

* Add article and updated code snippets

* Resolve conflicts

* Make reviewer requested changes

* Name class parameters and show how to pass in default value in metedata

* Add example for creating a FreezableCollection type dependency property

* Add newline

* Further edits
2021-10-22 09:55:35 -07:00
Tris Shores 700f725681 Add article, code projects, toc, and redirects (#1179) 2021-10-21 11:37:58 -07:00
41f8a0c942 Content update - Dependency properties precedence (user story 1878471) (#1164)
* Add new snippet for dependency precedence article

* Add article

* Minor edits

* Update dotnet-desktop-guide/net/wpf/properties/dependency-property-value-precedence.md

Co-authored-by: Andy (Steve) De George <[email protected]>

* Update dotnet-desktop-guide/net/wpf/properties/dependency-property-value-precedence.md

Co-authored-by: Andy (Steve) De George <[email protected]>

* Make reviewer requested changes

* Revert "Add new snippet for dependency precedence article"

This reverts commit 11657c18bdf9b8ed8037e689b84be643d7e7b9e7.

* Fix snippet path

* Remove unneeded code project files

* Header edit

* Update dotnet-desktop-guide/net/wpf/properties/dependency-property-value-precedence.md

Co-authored-by: Andy (Steve) De George <[email protected]>

* Remove VB code project

* Redirects

Co-authored-by: Andy (Steve) De George <[email protected]>
Co-authored-by: Andy De George (adegeo) <[email protected]>
2021-10-05 11:02:53 -07:00
Tris ShoresandAndy De George 57b6ca1593 Content update - Dependency properties overview (user story 1878471) (#1160)
* Update article and code projects

* Further edits

* Fix links

* Relocate article & snippets to wpf/properties folder

* add toc and redirects

* Add acrolinx comment and make a minor edit.

* minor

Co-authored-by: Andy De George (adegeo) <[email protected]>
2021-09-27 13:53:44 -07:00
Andy (Steve) De GeorgeandTris Shores bdd178c010 Printing in WPF port for .NET (#1156)
* Initial files

* update toc

* Content update - print-xps-files (user story 1861941) (#1151)

* Add C# and VB sample code projects

* Fix comments

* Update C# and VB code

* Add article

* Further edits

* Reviewer requested edits

* Further edits

* Use xref to link to API

* Minor edits

* Content update - invoke-print-dialog (user story 1861941) (#1141)

* Content update including C# WPF project

* Fix link

* Remove test code

* Further doc and C# sample edits

* Add feature: printing with no print dialog

* Separate out specific page range print functionality

* Cleanup comments

* UI tweaks

* Add VB sample code project

* Code file formatting

* Update dotnet-desktop-guide/net/wpf/documents/how-to-display-print-dialog.md

Co-authored-by: Andy (Steve) De George <[email protected]>

* Add page range printing

* Minor edits

* Update dotnet-desktop-guide/net/wpf/documents/snippets/how-to-display-print-dialog/csharp/MainWindow.xaml.cs

Co-authored-by: Andy (Steve) De George <[email protected]>

* Update dotnet-desktop-guide/net/wpf/documents/how-to-display-print-dialog.md

Co-authored-by: Andy (Steve) De George <[email protected]>

* Promote example headings

* Reorganize and add detail

* Minor edits

* Add detail

* Further edits

* Further edits

* Add resource links

* Add alternative API suggestions to a tip

* Minor edit

Co-authored-by: Andy (Steve) De George <[email protected]>

* Content update - print-overview (user story 1861941) (#1153)

* Add C# and VB sample code projects

* Add article

* Add redirects

Co-authored-by: Tris Shores <[email protected]>
2021-09-24 16:16:55 -04:00
Andy (Steve) De GeorgeandTom Dykstra 3885aab154 Add how to bind enum article (#1056)
* add how to article

* Fix lint

* Fix the code example

* Add missing code

* Update how-to-bind-to-an-enumeration.md

* Update dotnet-desktop-guide/net/wpf/data/how-to-bind-to-an-enumeration.md

Co-authored-by: Tom Dykstra <[email protected]>

Co-authored-by: Tom Dykstra <[email protected]>
2021-05-06 08:03:42 -07:00
Andy (Steve) De GeorgeandGenevieve Warren 4adbe51408 Port databinding articles to WPF 5.0 (#1049)
* Binding declarations article

* Binding sources article

* TOC/Index updates

* Update redirects

* Acro/bugs

* Apply suggestions from code review

Co-authored-by: Genevieve Warren <[email protected]>

* fix bookmarks

Co-authored-by: Genevieve Warren <[email protected]>
2021-04-30 12:08:09 -07:00
Andy (Steve) De George bf65ce7173 Minor TOC changes for WPF (#1034)
* minor toc changes

* minor toc changes

* minor toc changes
2021-04-15 13:38:09 -07:00
Andy (Steve) De GeorgeandGenevieve Warren ea8529f082 WPF publish initial content (#1032)
* Add overview article for new WPF (#178)

* Remove previous WPF .NET 5 content

* Overview article

* New article: Create new WPF project (#183)

* Basic index file

* Finish article for new project.

* acro

* markdown fix

* Fix build errors

* fix code lang

* fix code lang

* Add differences article for WPF (#186)

* Fix VS version for create app

* Add differences article

* Minor

* fix overview styles code

* Add code langs for overview

* Port Window Overview WPF article (#1011)

* Add Window overview article

* Add TOC

* Remove temp code

* Fix headers

* Port final Windows related articles (#1015)

* Initial test commit

* Add system dialogs

* 75% complete

* Add images

* Fix linter

* Add to toc

* Add more howto

* Fix code

* Add get/set main window

* Add missing code

* Add to toc

* Fix warnings

* Fix warnings

* missing code

* Update see also

* fix xref

* Migrate wpf net core controls-styles articles (#1023)

* Migrate control-styles

* Fix links

* Fix links

* Port databinding article. (#1022)

* Migrated databinding overview

* update toc

* Fix links/snippets

* fix links

* Move to correct folder

* Port initial resources docs (#1026)

* initial resources docs

* Build errors

* Update dotnet-desktop-guide/net/wpf/systems/xaml-resources-overview.md

Co-authored-by: Genevieve Warren <[email protected]>

* Apply suggestions from code review

Co-authored-by: Genevieve Warren <[email protected]>

* Feedback

* Add app article

* Add system article

* Minor

* meta

* fix toc

* Apply suggestions from code review

Co-authored-by: Genevieve Warren <[email protected]>

Co-authored-by: Genevieve Warren <[email protected]>

* Add xaml article

* reformat redirect

* Redirects

* WPF update XAML article  (#1031)

* convert snippets

* minor edits

* minor

* Fix warnings

* Fixes #1028

* Fixes #1028

* Apply suggestions from code review

Co-authored-by: Genevieve Warren <[email protected]>

* update redirects

Co-authored-by: Genevieve Warren <[email protected]>

* minor updates to link

* Readd migration article

* Warning fixes

* Fix lint

* Minor updates

* Fix warnings for TOC/YML

* last warnings

Co-authored-by: Genevieve Warren <[email protected]>
2021-04-15 12:52:05 -07:00
Andy De George fb0c8caad2 Add new create wpf app article (#193) 2021-02-02 20:25:07 -08:00
David CoulterandAndy De George c1d6e1d23e Links: .NET Desktop - net (#107)
* Links: .NET Desktop - net

* Update dotnet-desktop-guide/net/wpf/index.yml

* Update dotnet-desktop-guide/net/wpf/toc.yml

Co-authored-by: Andy De George <[email protected]>
2020-11-05 12:01:28 -08:00
Andy De George f8a874272a Adjust link (#50) 2020-09-18 09:11:02 -07:00
Andy De George 9371b0126b Migrate .NET 3.1/5 WPF guide from dotnet docs (#48)
* add toc/bread changes

* add xaml-services

* add ported wpf content

* add xaml-services info to docfx

* Fix links 1

* Fix links 2

* Fix links 3

* Fix links 4

* Fix links 5

* Fix links 6

* Fix links 7

* Fix xaml-services link

* Fix snippets 1

* Fix snippets 2

* adjust breadcrumb and toc

* remove preserve-view from breadcrumbs

* add empty view to toc item xaml

* update include

* remove contextual toc for vs article :(
2020-09-17 08:41:01 -07:00