RibbonControlService.GetQuickAccessToolBarId(DependencyObject) 方法

定义

获取对象的 QuickAccessToolBarId 附加属性的值。Gets the value of the QuickAccessToolBarId attached property for an object.

public:
 static System::Object ^ GetQuickAccessToolBarId(System::Windows::DependencyObject ^ element);
public static object GetQuickAccessToolBarId (System.Windows.DependencyObject element);
static member GetQuickAccessToolBarId : System.Windows.DependencyObject -> obj
Public Shared Function GetQuickAccessToolBarId (element As DependencyObject) As Object

参数

element
DependencyObject

从中读取属性值的对象。The object from which the property value is read.

返回

Object

对象的 QuickAccessToolBarId 属性值。The object's QuickAccessToolBarId property value.

例外

指定的 elementnullThe specified element is null.

适用于