RelativePanel.GetAlignBottomWithPanel(UIElement) 方法

定义

获取目标元素的 RelativePanel.AlignBottomWithPanel XAML 附加属性的值。

public:
 static bool GetAlignBottomWithPanel(UIElement ^ element);
 static bool GetAlignBottomWithPanel(UIElement const& element);
public static bool GetAlignBottomWithPanel(UIElement element);
function getAlignBottomWithPanel(element)
Public Shared Function GetAlignBottomWithPanel (element As UIElement) As Boolean

参数

element
UIElement

从中读取属性值的对象。

返回

Boolean

bool

指定对象的 RelativePanel.AlignBottomWithPanel XAML 附加属性值。 (true 使此元素的下边缘与面板的下边缘对齐;否则为 false.)

注解

此方法是属性系统的实用工具方法,在大多数应用方案中不使用。 在大多数情况下,在 XAML 中设置 RelativePanel.AlignBottomWithPanel XAML 附加属性,不需要此方法。 有关详细信息,请参阅 RelativePanel.AlignBottomWithPanel attached 属性。

适用于

另请参阅