共用方式為


RibbonControlService.GetQuickAccessToolBarControlSizeDefinition 方法

定義

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

public:
 static System::Windows::Controls::Ribbon::RibbonControlSizeDefinition ^ GetQuickAccessToolBarControlSizeDefinition(System::Windows::DependencyObject ^ element);
public static System.Windows.Controls.Ribbon.RibbonControlSizeDefinition GetQuickAccessToolBarControlSizeDefinition (System.Windows.DependencyObject element);
static member GetQuickAccessToolBarControlSizeDefinition : System.Windows.DependencyObject -> System.Windows.Controls.Ribbon.RibbonControlSizeDefinition
Public Shared Function GetQuickAccessToolBarControlSizeDefinition (element As DependencyObject) As RibbonControlSizeDefinition

參數

element
DependencyObject

要讀取屬性值的物件。

傳回

RibbonControlSizeDefinition

物件的 QuickAccessToolBarControlSizeDefinition 屬性值。

例外狀況

指定的 elementnull

適用於