Compartilhar via


Método RibbonControlService.SetControlSizeDefinition

Define o valor de ControlSizeDefinition anexado a propriedade de um objeto.

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

Sintaxe

'Declaração
Public Shared Sub SetControlSizeDefinition ( _
    element As DependencyObject, _
    value As RibbonControlSizeDefinition _
)
public static void SetControlSizeDefinition(
    DependencyObject element,
    RibbonControlSizeDefinition value
)
public:
static void SetControlSizeDefinition(
    DependencyObject^ element, 
    RibbonControlSizeDefinition^ value
)
static member SetControlSizeDefinition : 
        element:DependencyObject * 
        value:RibbonControlSizeDefinition -> unit 
public static function SetControlSizeDefinition(
    element : DependencyObject, 
    value : RibbonControlSizeDefinition
)

Parâmetros

Exceções

Exceção Condição
ArgumentNullException

The specified element is nulluma referência nula (Nothing no Visual Basic).

Segurança do .NET Framework

Consulte também

Referência

RibbonControlService Classe

Namespace Microsoft.Windows.Controls.Ribbon