CarouselView.ItemsLayout プロパティ
定義
重要
一部の情報は、リリース前に大きく変更される可能性があるプレリリースされた製品に関するものです。 Microsoft は、ここに記載されている情報について、明示または黙示を問わず、一切保証しません。
カルーセル内のアイテムの配置に使用するレイアウトを取得または設定します。
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 つのスナップポイントが必須の水平レイアウトです。
- 属性
注釈
項目レイアウトは、項目を水平方向または垂直方向に配置するかどうかを決定し、 SnapPointsType と SnapPointsAlignmentを通じてスナップ動作を制御します。