Skip to content

Commit

Permalink
Update itemscontrol_itemspanel.md
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewKeepCoding authored Sep 6, 2024
1 parent 13c365c commit 7ffbd99
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions windows.ui.xaml.controls/itemscontrol_itemspanel.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,13 +16,13 @@ Gets or sets the template that defines the panel that controls the layout of ite

## -xaml-syntax
```xaml
<itemsControl>
<itemsControl.ItemsPanel>
<ItemsControl>
<ItemsControl.ItemsPanel>
singlePanelTemplate
</itemsControl.ItemsPanel>
</itemsControl>
</ItemsControl.ItemsPanel>
</ItemsControl>
- or -
<itemsControl ItemsPanel="resourceReferenceToPanelTemplate"/>
<ItemsControl ItemsPanel="resourceReferenceToPanelTemplate"/>
```


Expand Down

1 comment on commit 7ffbd99

@AndrewKeepCoding
Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fixed control's name in the sample code.

Please sign in to comment.