WorkflowItemsPresenter.ItemsPanelProperty フィールド

定義

ItemsPanel依存関係プロパティを識別します。

public: static initonly System::Windows::DependencyProperty ^ ItemsPanelProperty;
public static readonly System.Windows.DependencyProperty ItemsPanelProperty;
 staticval mutable ItemsPanelProperty : System.Windows.DependencyProperty
Public Shared ReadOnly ItemsPanelProperty As DependencyProperty 

フィールド値

XAML の次の例は、水平方向のItemsPanelに基づくParallelアクティビティのデザイナーのStackPanelを示しています。

<sad:WorkflowItemsPresenter.ItemsPanel>
  <ItemsPanelTemplate>
    <StackPanel Orientation="Horizontal" HorizontalAlignment="Center" x:Name="ItemsPanel"/>
  </ItemsPanelTemplate>
</sad:WorkflowItemsPresenter.ItemsPanel>

注釈

カスタム パネル テンプレートを提供することで、含まれている項目のレイアウトをカスタマイズおよび制御できます。 既定の ItemsPanel は、垂直方向の StackPanelに基づいています。 図として、ItemsPanel アクティビティのデザイナーのParallelは、水平方向のStackPanelに基づいています。

適用対象