This documentation is archived and is not being maintained.

RibbonControlService.SetDefaultControlSizeDefinition Method

Visual Studio 2010

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

Namespace:  Microsoft.Windows.Controls.Ribbon
Assembly:  RibbonControlsLibrary (in RibbonControlsLibrary.dll)

public static void SetDefaultControlSizeDefinition(
	DependencyObject element,
	RibbonControlSizeDefinition value
)

Parameters

element
Type: System.Windows.DependencyObject
The object to which the attached property is written.
value
Type: Microsoft.Windows.Controls.Ribbon.RibbonControlSizeDefinition
The value to set.

ExceptionCondition
ArgumentNullException

The specified element is null.

Show: