WorkflowItemsPresenter.ItemsPanelProperty Field

Definition

Identifies the ItemsPanel dependency property.

C#
public static readonly System.Windows.DependencyProperty ItemsPanelProperty;

Field Value

Examples

The following example in XAML shows the ItemsPanel for the designer of Parallel activities that is based on a horizontally oriented StackPanel.

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

Remarks

By providing a custom panel template, you can customize and control the layout of the contained items. The default ItemsPanel is based on a vertically oriented StackPanel. As an illustration, the ItemsPanel for the designer of Parallel activities is based on a horizontally oriented StackPanel.

Applies to

Product Versions
.NET Framework 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1