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

适用于