Commit Graph
77 Commits
Author SHA1 Message Date
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 GeorgeandTom Dykstra 4e4a3f5498 Windows Forms getting started update for .NET 6 (#1215)
* Migrate code to .NET 6

* Add snippet ref in code

* Add net6 pics; move others to version folder

* Update winforms getting started

* Other .NET 5 references updated

* Lessen the amount of 'winforms'

* minor

* Update dotnet-desktop-guide/net/winforms/get-started/create-app-visual-studio.md

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

* Update dotnet-desktop-guide/net/winforms/get-started/create-app-visual-studio.md

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

* Update dotnet-desktop-guide/net/winforms/overview/index.md

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

* Update dotnet-desktop-guide/net/winforms/get-started/create-app-visual-studio.md

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

* Update dotnet-desktop-guide/net/winforms/overview/index.md

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

* Update dotnet-desktop-guide/net/winforms/get-started/create-app-visual-studio.md

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

* Update create-app-visual-studio.md

* Update create-app-visual-studio.md

* Update create-app-visual-studio.md

Co-authored-by: Tom Dykstra <[email protected]>
2021-11-16 14:09:35 -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
142f1e9f98 Create new .NET 6.0 pages (#1199)
* Create new .NET 6.0 pages

* Add the gist for .NET 6.0 changes w/o the application bootstrap

* rename new to 6; redirect via index

* feedback

* Create new .NET 6.0 pages

* Add the gist for .NET 6.0 changes w/o the application bootstrap

* rename new to 6; redirect via index

* feedback

* rebase

* Add renamed file

* remove unrelated file change

* update TOC

* Remove dead toc entry

* New application default font section

* application bootstrap

* Rework sections and descriptions

* Update dotnet-desktop-guide/net/winforms/whats-new/net60.md

Co-authored-by: Igor Velikorossov <[email protected]>

* more updates

* Fix warnings

* Fix final warning

* Apply suggestions from code review

* Update net60.md

* Update dotnet-desktop-guide/net/winforms/whats-new/net60.md

Co-authored-by: Devendar Reddy Adulla <[email protected]>

Co-authored-by: Andy De George (adegeo) <[email protected]>
Co-authored-by: Andy (Steve) De George <[email protected]>
Co-authored-by: Devendar Reddy Adulla <[email protected]>
2021-11-12 16:11:14 +00:00
Andy (Steve) De George b1e5e7c628 Updated redirects for 6.0 (#1208)
* Updated redirects for 6.0

* Add moniker to root config

* Update preview note
2021-11-08 15:50:13 -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
Igor Velikorossov 9abcffebf2 Update index.md (#1192)
Update VS version
2021-10-27 15:33:07 -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
Andy (Steve) De George 604e54c410 Update index.md (#1129) 2021-07-30 12:41:24 -05:00
Zoltán Szatmáry 6128fee9ca Modify snippet in a WPF getting started (#1127) 2021-07-30 10:11:24 -07:00
Andy (Steve) De George d30fae457c Add how-to-make-thread-safe-calls.md & Update Layout with margin/padding (#1119)
* Update with margin/padding

* add how-to-make-thread-safe-calls

* reverse property mentions
2021-07-26 18:14:58 -04:00
Andy (Steve) De George 5d38c60929 Add control event articles (#1113)
* Move ellipsis vs button to shared folder

* Add control events articles

* Update TOC

* acro

* Updates;redirects

* Fix redirect

* feedback
2021-07-19 15:27:36 -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 George 34be560985 Update how-to-set-the-tab-order.md (#1080) 2021-06-02 07:32:26 -05:00
Andy (Steve) De GeorgeandTom Dykstra f2a6c1b0e9 Port dock/anchor articles (#1081)
* Port some more info from autosize

* Port anchor/dock articles

* Apply suggestions from code review

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

* Move construction note

Co-authored-by: Tom Dykstra <[email protected]>
2021-06-01 16:32:00 -07:00
Andy (Steve) De GeorgeandTom Dykstra 0fdf730bc2 Port the How to set tab order article (#1077)
* Port article on tab order

* Redirects for new article

* TOC

* Update links

* Some other minor changes

* fix lint

* Update dotnet-desktop-guide/net/winforms/controls/how-to-set-the-tab-order.md

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

* Update dotnet-desktop-guide/net/winforms/controls/how-to-set-the-tab-order.md

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

* Update dotnet-desktop-guide/net/winforms/controls/how-to-set-the-tab-order.md

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

* Apply suggestions from code review

Co-authored-by: Tom Dykstra <[email protected]>
2021-05-26 21:07:42 -07:00
Andy (Steve) De George 0798e75a63 Update index.md (#1068) 2021-05-18 08:22:54 -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