Modifier

Partager via


RibbonControlService.SetDefaultControlSizeDefinition Method

Definition

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

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