Edit

Share via


RibbonControlService.SetControlSizeDefinition Method

Definition

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

public:
 static void SetControlSizeDefinition(System::Windows::DependencyObject ^ element, System::Windows::Controls::Ribbon::RibbonControlSizeDefinition ^ value);
public static void SetControlSizeDefinition (System.Windows.DependencyObject element, System.Windows.Controls.Ribbon.RibbonControlSizeDefinition value);
static member SetControlSizeDefinition : System.Windows.DependencyObject * System.Windows.Controls.Ribbon.RibbonControlSizeDefinition -> unit
Public Shared Sub SetControlSizeDefinition (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