KeyTipService.GetIsKeyTipScope 方法

返回指定元素的 IsKeyTipScope 附加属性的值。

命名空间:  Microsoft.Windows.Controls
程序集:  RibbonControlsLibrary(在 RibbonControlsLibrary.dll 中)

语法

声明
Public Shared Function GetIsKeyTipScope ( _
    element As DependencyObject _
) As Boolean
public static bool GetIsKeyTipScope(
    DependencyObject element
)
public:
static bool GetIsKeyTipScope(
    DependencyObject^ element
)
static member GetIsKeyTipScope : 
        element:DependencyObject -> bool 
public static function GetIsKeyTipScope(
    element : DependencyObject
) : boolean

参数

返回值

类型:System.Boolean
该对象的 IsKeyTipScope 属性值。

异常

异常 条件
ArgumentNullException

指定的 element 为 nullnull 引用(在 Visual Basic 中为 Nothing)。

.NET Framework 安全性

请参见

参考

KeyTipService 类

Microsoft.Windows.Controls 命名空间