Commit Graph
31 Commits
Author SHA1 Message Date
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
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 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 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
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 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 f206c2b5af Fix redirect (#1037) 2021-04-21 15:17:05 -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 58d850490b Adjust redirects (#104)
* Add more redirects

* Update .openpublishing.redirection.json
2020-11-03 14:47:05 -08:00
Andy De GeorgeandGenevieve Warren 184e6c9a0c Initial publish of WinForms for .NET 5. (#96)
* Migrate inprogress winforms contnet from docs

* Fix preview note

* Fix vb code

* Minor fixes to keyboard articles

* Minor adjustment to overview

* Test redirects for 4.0 -> 5.0

* adjust links

* Add mouse input section winforms (#81)

* Update projects to .NET 5

* Update keyboard desc

* Finish mouse events

* Add remaining mouse articles;code

* finish mouse input

* minor fixes

* Remove branch restriction (#82)

* Update build-validation.yml (#84)

* Update build-validation.yml (#85)

* Fix vb proj

* Add WinForms tutorial (#91)

* redirect between overview

* New create an app tutorial

* Fix markdown

* Fix preserve view setting

* Add forms articles (#93)

* Add forms articles

* Fix warnings

* Winforms publish (#95)

* Prep TOC for publish

* Updated date

* Automatic how-to topic type

* Update desc/headers

* Fix links

* Fix build errors

* Add preview note

* Update toc landing page

* Convert old style project files

* update download links

* Apply suggestions from code review

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

* Adjust number key

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

* Try toc position task via bookmark

* Improve images

* Remove sentence

* File redirects

Co-authored-by: Genevieve Warren <[email protected]>
2020-10-28 10:44:16 -07:00