dotnet / dotnet/dotnet-api-docs

Fix formatting in docs for `DataTemplateSelector`

Open
#9,681 2 comments 0 reactions 0 assignees View on GitHub
area-WPF Pri3 untriaged
Dominant language
C#
Stars
949
Forks
1.7k
Avg merge
3d 27m
Merged PRs (30d)
49

Description

The documentation page for the `DataTemplateSelector` seems to have a formatting issue (see below).

![image](https://github.com/dotnet/dotnet-api-docs/assets/11773136/ac4cd8b9-7aff-45ab-93a6-445a5cc895c6)

It would be probably better to show a single snippet of XAML code and not three separate pieces.

This might be due to indentation of https://github.com/dotnet/dotnet-api-docs/blob/5177084b059661de2688057135e6722ccd2d1a68/xml/System.Windows.Controls/DataTemplateSelector.xml#L135-L138

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.