Commit Graph
99 Commits
Author SHA1 Message Date
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
Andy (Steve) De George cb4acd590a Backport the fix to prop precedence from .NET to Framework (#1171)
* Update page4.xaml

* Update page4.xaml

* Add snippet

* Change reference
2021-10-21 12:35:11 -07:00
Tris Shores 700f725681 Add article, code projects, toc, and redirects (#1179) 2021-10-21 11:37:58 -07:00
atulllandAndy De George e6a2fd1bf1 Specifying ItemsSource attribute in DataGrid element (#1183)
* Specifying ItemsSource attribute in DataGrid element

#### Reference issues/PRs
None

#### What does this implements/fix? Explain your changes?
The ItemsSource attribute addition in the below code sample wasn't mentioned in the documentation. 

#### Any Comments
None

* Minor; inline code elements

Co-authored-by: Andy (Steve) De George <[email protected]>
2021-10-21 16:26:31 +00:00
Andy (Steve) De George 28e28e692e Update how-to-set-jpeg-compression-level.md (#1170) 2021-10-05 15:05:22 -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
Andy (Steve) De George ba341c97c3 Update Circle.xaml.cs (#1166) 2021-09-30 13:46:22 -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
Jeffrey Getzin e96218f17e Fixed grammar (#1150) 2021-09-16 15:40:06 -07:00
Andy (Steve) De George 3c9b1e2758 Fix formatting in XAML file (#1148)
* Update Window1.xaml

* Update Window1.xaml
2021-08-27 18:53:54 -07:00
Andy (Steve) De George 8c5835c2cc Update label.md (#1144) 2021-08-27 18:52:37 -07:00
Andy (Steve) De George 483c3e81e6 Update progressbar.xaml (#1139) 2021-08-27 18:52:02 -07:00
Andy (Steve) De George 5b61eedeaf Fix wrong type listed in opacity article (#1138)
* Update opacity-masks-overview.md

* Update dotnet-desktop-guide/framework/wpf/graphics-multimedia/opacity-masks-overview.md
2021-08-27 18:51:42 -07: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 e9fcf43083 Merge pull request #1135 from dotnet/adegeo-links
Correct .NET Framework links that pointed to old .NET 5 URLs
2021-08-11 12:04:34 -07:00
Andy (Steve) De George 604e54c410 Update index.md (#1129) 2021-07-30 12:41:24 -05:00
walterlv cb9ffbaf27 Fix "Smooth quadratic Bezier curve Command" syntax (#1125)
According to the source code of WPF, we can know that the `T` command only receives one parameter which is the `endPoint`. The `controlPoint` argument is automatically calculated by the reflection of the last control point. So the previous version of this doc has error in `T` and I'm fixing it in this pull request.
2021-07-30 10:21:16 -07: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 b0376d820a Update popup code (#1111)
* Update popup code

* update xref
2021-07-19 18:35:48 -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
Andy (Steve) De George a81e0eb409 Add information about debugging windows forms design time for .NET (#1104)
* Update walkthrough-debugging-custom-windows-forms-controls-at-design-time.md

* Update walkthrough-debugging-custom-windows-forms-controls-at-design-time.md

* Update walkthrough-debugging-custom-windows-forms-controls-at-design-time.md
2021-06-30 14:02: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 GeorgeandDavid Pine d9b54ba15b Fix code bug in markup extensions (#1097)
* Update service-contexts-with-type-converters-and-markup-extensions.md

* Apply suggestions from code review

Co-authored-by: David Pine <[email protected]>

Co-authored-by: David Pine <[email protected]>
2021-06-17 09:06:28 -07:00
Andy (Steve) De George e7f2ff0e96 Update with 3d objects (#1096) 2021-06-17 09:06:13 -07:00
Andy (Steve) De George 3195d51719 Update scrollviewer.xaml (#1086) 2021-06-15 07:51:36 -07:00
Kent SharkeyandAndy De George c72686fcf3 LinkFix: .NET desktop (2021-05) (#1076)
* LinkFix: .NET desktop (2021-05)

* Apply suggestions from code review

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

Co-authored-by: Andy (Steve) De George <[email protected]>
2021-06-11 15:35:01 -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 GeorgeandTom Dykstra 6592e99d2b Fix link to theme files (#1067)
* Update control-styles-and-templates.md

* Update control-styles-and-templates.md

* Update dotnet-desktop-guide/framework/wpf/controls/control-styles-and-templates.md

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

Co-authored-by: Tom Dykstra <[email protected]>
2021-05-18 09:23:08 -07:00
Charles (GitHub) e12f318ca2 Correct spelling error in the "TextBox or RichTextBox?" paragraph. #1064 (#1072)
Change then to than in the TextBox or RichTextBox? section.
2021-05-18 09:22:53 -07:00
Andy (Steve) De George 0798e75a63 Update index.md (#1068) 2021-05-18 08:22:54 -07:00
Lavin SandAndy De George 9722305b10 Recursive sample added for TreeNode iteratation (#1058)
* Non-recursive tree traversal C# sample added

* Changed formatting to reflect markdown correctly

* Formatting updated

* Updated sentence

* Update to confirm to ESlint changes

* Resolve  indentation mismatch

* Correctly link the xref

* Added C# code snippets for iteration over TreeView

* Add reference to c# code snippet

* Added a ref to the code snippet for recursive c#

* Fix comment

* VisualBasic code snippet for TreeViewTraversal

* Updated vb reference to code snippet

* Cpp gitignore updated

* Added cpp snippet for TreeView iteration

* C# commenting out print calls

* Vb commenting out print calls

* Reorder Folder Structure cpp

* Document updated with code snippets

* C# proj prpgrp updated

* VB prpgrp added

* Cpp prpgrp added

* Fixed typo

* Add description, update date

* Updating to match the two sections in style

* Adding teh snippets.5000.json file

* Update dotnet-desktop-guide/framework/winforms/controls/how-to-iterate-through-all-nodes-of-a-windows-forms-treeview-control.md

* Update dotnet-desktop-guide/framework/winforms/controls/how-to-iterate-through-all-nodes-of-a-windows-forms-treeview-control.md

Co-authored-by: Andy (Steve) De George <[email protected]>
2021-05-07 09:09:05 -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 George 8d4669a8df Update docfx.json (#1041) 2021-04-24 11:31:02 -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
Leon Bambrick 9c0390d601 extraneous double quote (#1017) 2021-03-23 09:10:03 -07:00
Sylvain Bruyère 107d1c03fd Fix a dead link in the WPF dependency properties overview (#1012) 2021-03-15 08:26:44 -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
ChristyandAndy De George 27a7699fe3 Update how-to-create-an-elliptical-arc.md (#222)
* Update how-to-create-an-elliptical-arc.md

Removed unnecessary [xaml] tags

* Update how-to-create-an-elliptical-arc.md

Co-authored-by: Andy De George <[email protected]>
2021-03-08 17:21:02 -08:00
ChristyandAndy De George ad9b095b5f Update how-to-create-a-linesegment-in-a-pathgeometry.md (#221)
* Update how-to-create-a-linesegment-in-a-pathgeometry.md

Removed unnecessary [xaml] tags

* Update how-to-create-a-linesegment-in-a-pathgeometry.md

Co-authored-by: Andy De George <[email protected]>
2021-03-08 17:19:59 -08:00