Nuta
Dostęp do tej strony wymaga autoryzacji. Możesz spróbować się zalogować lub zmienić katalog.
Dostęp do tej strony wymaga autoryzacji. Możesz spróbować zmienić katalogi.
Returns the value of the KeyTip attached property for the specified element.
Namespace: Microsoft.Windows.Controls
Assembly: RibbonControlsLibrary (in RibbonControlsLibrary.dll)
Syntax
'Declaration
Public Shared Function GetKeyTip ( _
element As DependencyObject _
) As String
public static string GetKeyTip(
DependencyObject element
)
public:
static String^ GetKeyTip(
DependencyObject^ element
)
static member GetKeyTip :
element:DependencyObject -> string
public static function GetKeyTip(
element : DependencyObject
) : String
Parameters
- element
Type: System.Windows.DependencyObject
The object from which the property value is read.
Return Value
Type: System.String
The object’s KeyTip 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.