편집

다음을 통해 공유


GridViewHeaderRowPresenter.ColumnHeaderToolTip Property

Definition

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

public:
 property System::Object ^ ColumnHeaderToolTip { System::Object ^ get(); void set(System::Object ^ value); };
public object ColumnHeaderToolTip { get; set; }
member this.ColumnHeaderToolTip : obj with get, set
Public Property ColumnHeaderToolTip As Object

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

Item Value
Identifier field ColumnHeaderToolTipProperty
Metadata properties set to true None

Applies to