GridViewHeaderRowPresenter.ColumnHeaderToolTip Property

 

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

Namespace:   System.Windows.Controls
Assembly:  PresentationFramework (in PresentationFramework.dll)

public object ColumnHeaderToolTip { get; set; }

Property Value

Type: System.Object

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

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.

<object ToolTip="toolTipContent"/>

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

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.

Identifier field

ColumnHeaderToolTipProperty

Metadata properties set to true

None

.NET Framework
Available since 3.0
Return to top
Show: