语言

Grid.GetColumnSpan(UIElement) 方法

定义

从给定ColumnSpan获取附加属性的值UIElement。

public:
 static int GetColumnSpan(System::Windows::UIElement ^ element);
[System.Windows.AttachedPropertyBrowsableForChildren]
public static int GetColumnSpan(System.Windows.UIElement element);
[<System.Windows.AttachedPropertyBrowsableForChildren>]
static member GetColumnSpan : System.Windows.UIElement -> int
Public Shared Function GetColumnSpan (element As UIElement) As Integer

参数

element
UIElement

要从中读取属性值的元素。

返回

附加属性的值 ColumnSpan 。

特性

适用于