AdornerPanel.GetVerticalStretch 方法

获取指定 DependencyObjectVerticalStretch 附加属性的值。

命名空间:  Microsoft.Windows.Design.Interaction
程序集:  Microsoft.Windows.Design.Interaction(在 Microsoft.Windows.Design.Interaction.dll 中)

语法

声明
Public Shared Function GetVerticalStretch ( _
    adorner As UIElement _
) As AdornerStretch
public static AdornerStretch GetVerticalStretch(
    UIElement adorner
)
public:
static AdornerStretch GetVerticalStretch(
    UIElement^ adorner
)
static member GetVerticalStretch : 
        adorner:UIElement -> AdornerStretch 
public static function GetVerticalStretch(
    adorner : UIElement
) : AdornerStretch

参数

返回值

类型:Microsoft.Windows.Design.Interaction.AdornerStretch
装饰器面板沿 y 轴的 AdornerStretch。默认值为 None

异常

异常 条件
ArgumentNullException

adorner 为 nullnull 引用(在 Visual Basic 中为 Nothing)。

.NET Framework 安全性

请参见

参考

AdornerPanel 类

Microsoft.Windows.Design.Interaction 命名空间

其他资源

装饰器体系结构

功能提供程序和功能连接器