RibbonControlService.SetControlSizeDefinition(DependencyObject, RibbonControlSizeDefinition) Metodo

Definizione

Imposta il valore della proprietà associata ControlSizeDefinition per un oggetto.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)

Parametri

element
DependencyObject

Oggetto in cui viene scritta la proprietà associata.The object to which the attached property is written.

value
RibbonControlSizeDefinition

Il valore da impostare.The value to set.

Eccezioni

Il valore specificato per il parametro element è null.The specified element is null.

Si applica a