Edit

Share via


RibbonControlService.SetQuickAccessToolBarControlSizeDefinition Method

Definition

Sets the value of the QuickAccessToolBarControlSizeDefinition attached property for an object.

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)

Parameters

element
DependencyObject

The object to which the attached property is written.

value
RibbonControlSizeDefinition

The value to set.

Exceptions

The specified element is null.

Applies to