KeyTipService::SetKeyTipStyle Method (DependencyObject^, Style^)

.NET Framework (current version)
 
System_CAPS_noteNote

The .NET API Reference documentation has a new home. Visit the .NET API Browser on docs.microsoft.com to see the new experience.

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

Namespace:   System.Windows.Controls
Assembly:  System.Windows.Controls.Ribbon (in System.Windows.Controls.Ribbon.dll)

public:
static void SetKeyTipStyle(
	DependencyObject^ element,
	Style^ value
)

Parameters

element
Type: System.Windows::DependencyObject^

The object to which the attached property is written.

value
Type: System.Windows::Style^

The value to set.

Exception Condition
ArgumentNullException

The specified element is null.

.NET Framework
Available since 4.5
Return to top
Show: