GridViewHeaderRowPresenter.ColumnHeaderToolTip Property

Definition

Gets or sets the content for a tooltip for the column header row.

public object ColumnHeaderToolTip { get; set; }

Property Value

An object that represents the content of a tooltip for the column headers.

Remarks

When you implement this class as part of a GridView view mode, the value of this property is bound to the value of the ColumnHeaderToolTip property on the GridView.

You can customize column headers in a GridView view mode by using a variety of properties that are found in this class and in related classes. For more information about these properties, and about the precedence between them, see GridView Column Header Styles and Templates Overview.

XAML Attribute Usage

<object ToolTip="toolTipContent"/>  

XAML Property Element Usage

<object>  
  <object.ToolTip>  
    <ToolTip .../>  
  </object.ToolTip>  
</object>  
- or -  
<object>  
  <object.ToolTip>  
    toolTipObjectContent  
  </object.ToolTip>  
</object>  

XAML Values

toolTipContent
A string that becomes the display text for the ColumnHeaderToolTip.

toolTipObjectContent
An object to use as the content for the tooltip. Typically, this object is a FrameworkElement or some other element that defines a layout for the ColumnHeaderToolTip, such as a text element. In this usage, a ToolTip element is implicitly created from the parsed XAML, and the toolTipObjectContent content is set as its ContentControl.Content property.

<ToolTip .../>
See ToolTip.

Dependency Property Information

Identifier field ColumnHeaderToolTipProperty
Metadata properties set to true None

Applies to

Ürün Sürümler
.NET Framework 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1
Windows Desktop 3.0, 3.1, 5, 6, 7, 8, 9