共用方式為


RibbonControlService.SetQuickAccessToolBarControlSizeDefinition 方法

定義

設定物件的 QuickAccessToolBarControlSizeDefinition 附加屬性值。

public:
 static void SetQuickAccessToolBarControlSizeDefinition(System::Windows::DependencyObject ^ element, System::Windows::Controls::Ribbon::RibbonControlSizeDefinition ^ value);
public static void SetQuickAccessToolBarControlSizeDefinition (System.Windows.DependencyObject element, System.Windows.Controls.Ribbon.RibbonControlSizeDefinition value);
static member SetQuickAccessToolBarControlSizeDefinition : System.Windows.DependencyObject * System.Windows.Controls.Ribbon.RibbonControlSizeDefinition -> unit
Public Shared Sub SetQuickAccessToolBarControlSizeDefinition (element As DependencyObject, value As RibbonControlSizeDefinition)

參數

element
DependencyObject

要寫入附加屬性的物件。

value
RibbonControlSizeDefinition

要設定的值。

例外狀況

指定的 elementnull

適用於