AutomationProperties.SetIsColumnHeader(DependencyObject, Boolean) 方法

定义

设置指定 DependencyObjectIsColumnHeader 附加属性。

public:
 static void SetIsColumnHeader(System::Windows::DependencyObject ^ element, bool value);
public static void SetIsColumnHeader (System.Windows.DependencyObject element, bool value);
static member SetIsColumnHeader : System.Windows.DependencyObject * bool -> unit
Public Shared Sub SetIsColumnHeader (element As DependencyObject, value As Boolean)

参数

element
DependencyObject

要在其上设置属性的 DependencyObject

value
Boolean

要设置的值; true 如果 元素应为列标题,则为 ;否则为 false

适用于

另请参阅