Fix typo. (#2116)
This commit is contained in:
Родитель
8759c37b9b
Коммит
3b50295bea
|
@ -29,7 +29,7 @@ In addition, the <xref:Microsoft.Maui.Controls.BindableLayout> class exposes the
|
|||
|
||||
All of these properties can be attached to the <xref:Microsoft.Maui.Controls.AbsoluteLayout>, <xref:Microsoft.Maui.Controls.FlexLayout>, <xref:Microsoft.Maui.Controls.Grid>, <xref:Microsoft.Maui.Controls.HorizontalStackLayout>, <xref:Microsoft.Maui.Controls.StackLayout>, and <xref:Microsoft.Maui.Controls.VerticalStackLayout> classes, which all derive from the <xref:Microsoft.Maui.Controls.Layout> class.
|
||||
|
||||
When the `BinableLayout.ItemsSource` property is set to a collection of items and attached to a <xref:Microsoft.Maui.Controls.Layout>-derived class, each item in the collection is added to the <xref:Microsoft.Maui.Controls.Layout>-derived class for display. The <xref:Microsoft.Maui.Controls.Layout>-derived class will then update its child views when the underlying collection changes. <!-- For more information about the .NET MAUI layout cycle, see [Creating a Custom Layout](~/user-interface/layouts/custom.md).-->
|
||||
When the `BindableLayout.ItemsSource` property is set to a collection of items and attached to a <xref:Microsoft.Maui.Controls.Layout>-derived class, each item in the collection is added to the <xref:Microsoft.Maui.Controls.Layout>-derived class for display. The <xref:Microsoft.Maui.Controls.Layout>-derived class will then update its child views when the underlying collection changes. <!-- For more information about the .NET MAUI layout cycle, see [Creating a Custom Layout](~/user-interface/layouts/custom.md).-->
|
||||
|
||||
Bindable layouts should only be used when the collection of items to be displayed is small, and scrolling and selection isn't required. While scrolling can be provided by wrapping a bindable layout in a <xref:Microsoft.Maui.Controls.ScrollView>, this is not recommended as bindable layouts lack UI virtualization. When scrolling is required, a scrollable view that includes UI virtualization, such as <xref:Microsoft.Maui.Controls.ListView> or <xref:Microsoft.Maui.Controls.CollectionView>, should be used. Failure to observe this recommendation can lead to performance issues.
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче