CarouselView.ItemsLayout プロパティ

定義

カルーセル内のアイテムの配置に使用するレイアウトを取得または設定します。

public:
 property Microsoft::Maui::Controls::LinearItemsLayout ^ ItemsLayout { Microsoft::Maui::Controls::LinearItemsLayout ^ get(); void set(Microsoft::Maui::Controls::LinearItemsLayout ^ value); };
[System.ComponentModel.TypeConverter(typeof(Microsoft.Maui.Controls.CarouselLayoutTypeConverter))]
public Microsoft.Maui.Controls.LinearItemsLayout ItemsLayout { get; set; }
[<System.ComponentModel.TypeConverter(typeof(Microsoft.Maui.Controls.CarouselLayoutTypeConverter))>]
member this.ItemsLayout : Microsoft.Maui.Controls.LinearItemsLayout with get, set
Public Property ItemsLayout As LinearItemsLayout

プロパティ値

レイアウトの方向とスナップ動作を定義する LinearItemsLayout 。 既定では、1 つのスナップポイントが必須の水平レイアウトです。

属性

注釈

項目レイアウトは、項目を水平方向または垂直方向に配置するかどうかを決定し、 SnapPointsTypeSnapPointsAlignmentを通じてスナップ動作を制御します。

適用対象