Share via


KeyTipService.GetKeyTipStyle Method

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

Namespace:  Microsoft.Windows.Controls
Assembly:  RibbonControlsLibrary (in RibbonControlsLibrary.dll)

Syntax

'Declaration
Public Shared Function GetKeyTipStyle ( _
    element As DependencyObject _
) As Style
public static Style GetKeyTipStyle(
    DependencyObject element
)
public:
static Style^ GetKeyTipStyle(
    DependencyObject^ element
)
static member GetKeyTipStyle : 
        element:DependencyObject -> Style 
public static function GetKeyTipStyle(
    element : DependencyObject
) : Style

Parameters

Return Value

Type: System.Windows.Style
The object’s KeyTipStyle property value.

Exceptions

Exception Condition
ArgumentNullException

The specified element is nulla null reference (Nothing in Visual Basic).

.NET Framework Security

See Also

Reference

KeyTipService Class

Microsoft.Windows.Controls Namespace