Edit

Bagikan melalui


KeyTipService.SetKeyTip(DependencyObject, String) Method

Definition

Sets the value of the KeyTip attached property for the specified element.

public:
 static void SetKeyTip(System::Windows::DependencyObject ^ element, System::String ^ value);
public static void SetKeyTip (System.Windows.DependencyObject element, string value);
static member SetKeyTip : System.Windows.DependencyObject * string -> unit
Public Shared Sub SetKeyTip (element As DependencyObject, value As String)

Parameters

element
DependencyObject

The object to which the attached property is written.

value
String

The value to set.

Exceptions

The specified element is null.

Applies to