Skip to content

Commit

Permalink
Update profiles.md - fix typos
Browse files Browse the repository at this point in the history
Signed-off-by: Matt Lacey <matt@mrlacey.co.uk>
  • Loading branch information
mrlacey authored Feb 10, 2025
1 parent 1812177 commit 6564469
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/profiles.md
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ Attribute based placeholders take the form `$att:<attribute-name>:<output-if-att

#### &lt;attribute-name&gt;

This is the name of the attribute to look for. In the following code snippet this woudl be `Display`. (Use of `DisplayAttribute` also works.)
This is the name of the attribute to look for. In the following code snippet this would be `Display`. (Use of `DisplayAttribute` also works.)

```csharp
[Display(Name = ShortName)]
Expand All @@ -108,7 +108,7 @@ This is the name of the attribute to look for. In the following code snippet thi

These can be regular strings to treat as XAML. It can also include values in square brackets which have special meaning with regard the properties of the attribute.

- **[PropertName]** can be used to access the values of named items passed to the attribute constructor. e.g. `Name` in the above example.
- **[PropertyName]** can be used to access the values of named items passed to the attribute constructor. e.g. `Name` in the above example.
- **[1]** can be used to access values passed to the attribute constructor in numeric order. Order starts with '1'. (`[1]` and `[Name]` produce the same output in the above example.)

#### &lt;fallback-value&gt;
Expand Down

0 comments on commit 6564469

Please sign in to comment.