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
- element
Type: System.Windows.DependencyObject
The object from which the property value is read.
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.