Share via


AdornerPanel.GetHorizontalStretch, méthode

Obtient la valeur de la propriété jointe HorizontalStretch pour le DependencyObject spécifié.

Espace de noms :  Microsoft.Windows.Design.Interaction
Assembly :  Microsoft.Windows.Design.Interaction (dans Microsoft.Windows.Design.Interaction.dll)

Syntaxe

'Déclaration
Public Shared Function GetHorizontalStretch ( _
    adorner As UIElement _
) As AdornerStretch
public static AdornerStretch GetHorizontalStretch(
    UIElement adorner
)
public:
static AdornerStretch GetHorizontalStretch(
    UIElement^ adorner
)
static member GetHorizontalStretch : 
        adorner:UIElement -> AdornerStretch 
public static function GetHorizontalStretch(
    adorner : UIElement
) : AdornerStretch

Paramètres

Valeur de retour

Type : Microsoft.Windows.Design.Interaction.AdornerStretch
AdornerStretch pour le panneau d'ornement le long de l'axe x.La valeur par défaut est None.

Exceptions

Exception Condition
ArgumentNullException

adorner est nullune référence null (Nothing en Visual Basic).

Sécurité .NET Framework

Voir aussi

Référence

AdornerPanel Classe

Microsoft.Windows.Design.Interaction, espace de noms

Autres ressources

Architecture d'ornement

Fournisseurs de fonctionnalités et connecteurs de fonctionnalités