Commit Graph
30 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
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 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
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
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 95aaa17eb7 Add redirect script (#1190)
* Add redirect script

* Update redirects_generator/redirect.bat

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

* Delete temp file

Co-authored-by: Andy (Steve) De George <[email protected]>
2021-10-27 10:50:15 -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 090e480dcf Modify redirects generator to update a specified _.openpublishing.redirection_ file (#1181) 2021-10-21 12:55:42 -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