Redigera

Dela via


KeyTipService.SetKeyTipStyle(DependencyObject, Style) Method

Definition

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

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

Parameters

element
DependencyObject

The object to which the attached property is written.

value
Style

The value to set.

Exceptions

The specified element is null.

Applies to