Skip to content

Commit

Permalink
Update index.md
Browse files Browse the repository at this point in the history
  • Loading branch information
davidbritch authored Jul 25, 2023
1 parent adc73c4 commit 7fd444f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/xaml/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ XAML has several advantages over equivalent code:
There are also disadvantages, mostly related to limitations that are intrinsic to markup languages:

- XAML cannot contain code. All event handlers must be defined in a code file.
- XAML cannot contain loops for repetitive processing. However, there are controls like: <xref:Microsoft.Maui.Controls.ListView>, <xref:Microsoft.Maui.Controls.CollectionView> which are used to repeat similar type of UI/View in XAML.
- XAML cannot contain loops for repetitive processing. However there are controls that display collections of data, such as <xref:Microsoft.Maui.Controls.ListView> and <xref:Microsoft.Maui.Controls.CollectionView>.
- XAML cannot contain conditional processing. However, a data-binding can reference a code-based binding converter that effectively allows some conditional processing.
- XAML generally cannot instantiate classes that do not define a parameterless constructor, although this restriction can sometimes be overcome.
- XAML generally cannot call methods, although this restriction can sometimes be overcome.
Expand Down

0 comments on commit 7fd444f

Please sign in to comment.