WorkflowItemsPresenter.ItemsPanelProperty Champ
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
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.