GridViewHeaderRowPresenter.ColumnHeaderToolTip Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Identifier field | ColumnHeaderToolTipProperty |
Metadata properties set to true |
None |
Applies to
Commentaires
https://aka.ms/ContentUserFeedback.
Bientôt disponible : Tout au long de 2024, nous allons supprimer progressivement GitHub Issues comme mécanisme de commentaires pour le contenu et le remplacer par un nouveau système de commentaires. Pour plus d’informations, consultezEnvoyer et afficher des commentaires pour