Langue

WorkflowItemsPresenter.ItemsPanelProperty Champ

Définition

Identifie la ItemsPanel propriété de dépendance.

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 

Valeur de champ

Exemples

L’exemple suivant en XAML montre le ItemsPanel concepteur d’activités Parallel basé sur une orientation StackPanelhorizontale.

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

Remarques

En fournissant un modèle de panneau personnalisé, vous pouvez personnaliser et contrôler la disposition des éléments contenus. La valeur par défaut ItemsPanel est basée sur une orientation StackPanelverticale . En guise d’illustration, le ItemsPanel concepteur d’activités Parallel est basé sur une orientation StackPanelhorizontale.

S’applique à