Bewerken

Share via


AutomationProperties.SetIsColumnHeader(DependencyObject, Boolean) Method

Definition

Sets the IsColumnHeader attached property for the specified DependencyObject.

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)

Parameters

element
DependencyObject

The DependencyObject on which to set the property.

value
Boolean

The value to set; true if the element is meant to be a column header, otherwise false.

Applies to

See also