Commit Graph
57 Commits
Author SHA1 Message Date
Tris Shores 907918d922 Add x:Name property to custom control in VB project (#1340) 2022-03-24 13:33:08 -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 Shores e9336278b2 Content update - Remove unnecessary DLLs (user story 1878475) (#1310)
* Remove unnecessary DLLs

* Attach vs assign, and raised vs create
2022-02-16 09:12:06 -08:00
Andy (Steve) De George c4b1d28a60 Remove DLL files (#1308) 2022-02-14 12:07:33 -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
Andy (Steve) De George 47a61822d3 Update attached-properties-overview.md (#1303)
* Update attached-properties-overview.md

* Update attached-properties-overview.md
2022-02-09 15:40:09 -06:00
Andy (Steve) De George 172e68963a fixed creeping lint errors (#1302) 2022-02-07 14:55:46 -06:00
Andy (Steve) De George f2c54eb6bf Update index.md (#1294) 2022-02-04 11:19:13 -06: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 Shores 58f6e05c13 Add desktop-guide note to all WPF property articles (#1258) 2022-01-05 09:01:06 -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 Shores 71675bec48 Content update - Add attached property snippet tests (user story 1878471) (#1224)
* Add snippet test and update type

* Add snippet test and update type

* Update to .NET to 6.0

* Update accessor signatures
2021-12-08 16:26:45 -08:00
Andy (Steve) De George 023dac5e24 Update dialog-boxes-overview.md (#1243) 2021-12-08 08:04:58 -06: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 c37bd7c99b Update print articles to .NET 6.0 (#1232) 2021-12-02 08:21:15 -08:00
Tris Shores 2e05d5ef2c Update property articles to .NET 6.0 (#1231) 2021-12-01 16:14:25 -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
Andy (Steve) De GeorgeandTom Dykstra c6320c2d04 Update WPF getting started for .NET 6.0 VS2022 (#1220)
* Update WPF getting started for .NET 6

* Minor

* Update images with boxes

* Apply suggestions from code review

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

* Add missing . at end of alttext

Co-authored-by: Tom Dykstra <[email protected]>
2021-11-18 11:47:14 -08:00
Andy (Steve) De George e17bdfae17 Update index.md (#1214) 2021-11-15 20:04:26 -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 b82ed37802 Fix naming in custom-dependency-properties snippet (#1204)
* Fix naming

* Simplify identifier assignment

* Simplify identifier assignment
2021-11-05 08:19:39 -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 George dfd75f6d2c Add pointers to upgrade doc (#1133)
* Add pointers to upgrade doc

* Update dotnet-desktop-guide/framework/wpf/getting-started/walkthrough-my-first-wpf-desktop-application.md
2021-08-11 12:47:49 -07:00
Zoltán Szatmáry 6128fee9ca Modify snippet in a WPF getting started (#1127) 2021-07-30 10:11:24 -07:00
Aaron 9379b1a0e0 Update index.md (#1108) 2021-07-09 16:36:04 -07:00
Brandon 3c0d9388b9 Update index.yml (#1105)
Fix link to "Get or set the main app window"
2021-06-30 11:05:39 -07: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 George c893946fa6 Add vb code;person example (#1052) 2021-04-30 13:05:52 -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 f48d6c37c0 Address feedback (#1045) 2021-04-29 12:09:32 -07:00
Andy (Steve) De GeorgeandGenevieve Warren be9a1d7a14 Clarify a bit of databinding (#1040)
* Clarify a bit of databinding

* Apply suggestions from code review

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

Co-authored-by: Genevieve Warren <[email protected]>
2021-04-23 18:03:33 -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 (Steve) De George 7f8394ee60 Update more main branch changes (#1008)
* Update build-validation.yml

* Update version-sweep.yml

* Update .acrolinx-config.edn

* Update .openpublishing.publish.config.json

* fix paths

* Update .github/workflows/build-validation.yml
2021-03-09 11:38:59 -08:00
Timo Salomäki f5da9e8506 Update xaml.md (#213)
Minor typo fix
2021-03-03 14:27:03 -08:00
Andy De George 917e65e6c3 Revert WPF to 16.8 for now (#198)
* Revert WPF to 16.8 for now

* minor
2021-02-03 10:42:49 -08:00