WPF .NET 5 getting started article will need to demonstrate more

未关闭
#189 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看

维护者通常 4 天内回复

还没有人认领这个 Issue。

评估

难度
5/5
预计耗时
一周以上
新手友好度
25/100
Issue 类型
文档
描述清晰度
需要澄清
活跃度
停滞
技术栈
csharp

调研方向

首先阅读 dotnet-desktop-guide/net/wpf/get-started/create-app-visual-studio.md 中的当前文章,并将其与链接的 .NET Framework walkthrough 进行比较。确定 Parts 2–5 的范围和顺序,然后创建涵盖 binding、validation、styles 和 themes 的扩展文章;要完成这项工作,必须解决未决问题并发布一个连贯的系列。

由索引模型根据 Issue 内容生成。

描述

doc-idea Pri2

Related to #60

After the revamp of the .NET 5 WPF content is published, there will be a new getting started article that creates a new app. This app is pretty simple compared to the .NET Framework walkthrough. This article should be expanded into multiple articles that build on the previous one and introduce new concepts.

  1. Part 1

    This is the basic article that will be published. Currently it's here.

    • Creating an app in Visual Studio
    • Create some basic controls
    • Respond to button click to add names to controls
  2. Part 2

    Dives into {binding} the UI with some backend data (all in app).

    • Creating an ObservableCollection for the names list
    • Change the button to add names to the collection
    • Bind the collection to the ListBox
    • Expand the data types to a full address book record instead of just name
    • Introduce a Delete button to remove an item
  3. Part 3

    Explore validation on input

    • Expand UI to support all fields of the address book
    • Add "favorite" field
    • Expand UI to support toggling "favorite"
    • Add validation to data entry controls.
    • Toggle Add button based on if record is valid.
  4. Part 4

    Explore the styles and themes features of WPF.

    • Add a DataTemplate to the ListBox.
    • Add multiple DataTemplate to the ListBox based on "favorite".
    • Adjust validation styles.
    • ???
  5. Part 5

    ???

主要语言
C#
星标
241
派生
192
平均合并
10 小时 23 分钟
30 天内合并 PR
6

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

dotnet/docs-desktop 的其他 Issue

查看 dotnet/docs-desktop 的全部 Issue

相似的 Issue

更多 C# Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。