KeyTipService.SetKeyTipStyle(DependencyObject, Style) 方法

定義

設定指定元素附加屬性的值 KeyTipStyle

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)

參數

element
DependencyObject

附加屬性所寫的物件。

value
Style

要設定的值。

例外狀況

指定的 elementnull

適用於