Share via


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以水平導向 StackPanel為基礎的活動設計Parallel工具。

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

備註

透過提供自訂的面板範本,您可以自訂及控制所包含項目的配置。 預設值 ItemsPanel 是以垂直方向 StackPanel為基礎。 如圖所示, ItemsPanel 活動設計工具 Parallel 的 是以水平導向 StackPanel的 為基礎。

適用於