共用方式為


VisualElement.SetToolTip Method

Definition

Overloads

SetToolTip(BindableObject, String)

Sets the tooltip on a visual element.

SetToolTip(IPlatformElementConfiguration<Tizen,VisualElement>, String)

Sets the tooltip on a visual element.

SetToolTip(BindableObject, String)

Source:
VisualElement.cs
Source:
VisualElement.cs

Sets the tooltip on a visual element.

public:
 static void SetToolTip(Microsoft::Maui::Controls::BindableObject ^ element, System::String ^ value);
public static void SetToolTip (Microsoft.Maui.Controls.BindableObject element, string value);
static member SetToolTip : Microsoft.Maui.Controls.BindableObject * string -> unit
Public Sub SetToolTip (element As BindableObject, value As String)

Parameters

element
BindableObject

The visual element whose tooltip to set.

value
String

The new tooltip value.

Applies to

SetToolTip(IPlatformElementConfiguration<Tizen,VisualElement>, String)

Source:
VisualElement.cs
Source:
VisualElement.cs

Sets the tooltip on a visual element.

public:
[System::Runtime::CompilerServices::Extension]
 static Microsoft::Maui::Controls::IPlatformElementConfiguration<Microsoft::Maui::Controls::PlatformConfiguration::Tizen ^, Microsoft::Maui::Controls::VisualElement ^> ^ SetToolTip(Microsoft::Maui::Controls::IPlatformElementConfiguration<Microsoft::Maui::Controls::PlatformConfiguration::Tizen ^, Microsoft::Maui::Controls::VisualElement ^> ^ config, System::String ^ value);
public static Microsoft.Maui.Controls.IPlatformElementConfiguration<Microsoft.Maui.Controls.PlatformConfiguration.Tizen,Microsoft.Maui.Controls.VisualElement> SetToolTip (this Microsoft.Maui.Controls.IPlatformElementConfiguration<Microsoft.Maui.Controls.PlatformConfiguration.Tizen,Microsoft.Maui.Controls.VisualElement> config, string value);
static member SetToolTip : Microsoft.Maui.Controls.IPlatformElementConfiguration<Microsoft.Maui.Controls.PlatformConfiguration.Tizen, Microsoft.Maui.Controls.VisualElement> * string -> Microsoft.Maui.Controls.IPlatformElementConfiguration<Microsoft.Maui.Controls.PlatformConfiguration.Tizen, Microsoft.Maui.Controls.VisualElement>
<Extension()>
Public Function SetToolTip (config As IPlatformElementConfiguration(Of Tizen, VisualElement), value As String) As IPlatformElementConfiguration(Of Tizen, VisualElement)

Parameters

config
IPlatformElementConfiguration<Tizen,VisualElement>

The platform configuration for the visual element whose tooltip to set.

value
String

The new tooltip value.

Returns

A fluent object on which the developer may make further method calls.

Applies to