WorkflowItemsPresenter.ItemsPanelProperty Field
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
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>
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
.
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 |
.NET feedback
.NET is an open source project. Select a link to provide feedback: