WorkflowItemsPresenter.ItemsPanelProperty Field
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Identifies the ItemsPanel dependency property.
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
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
.
<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
.