RibbonControlService.GetCanAddToQuickAccessToolBarDirectly 方法

定義

取得物件之 CanAddToQuickAccessToolBarDirectly 附加屬性的值。

public:
 static bool GetCanAddToQuickAccessToolBarDirectly(System::Windows::DependencyObject ^ element);
public static bool GetCanAddToQuickAccessToolBarDirectly (System.Windows.DependencyObject element);
static member GetCanAddToQuickAccessToolBarDirectly : System.Windows.DependencyObject -> bool
Public Shared Function GetCanAddToQuickAccessToolBarDirectly (element As DependencyObject) As Boolean

參數

element
DependencyObject

要讀取屬性值的物件。

傳回

Boolean

物件的 CanAddToQuickAccessToolBarDirectly 屬性值。

例外狀況

指定的 elementnull

適用於