Compartilhar via


Construtor ToolCommandBinding (ToolCommand)

Initializes a new instance of the ToolCommandBinding class.

Namespace:  Microsoft.Windows.Design.Interaction
Assembly:  Microsoft.Windows.Design.Interaction (em Microsoft.Windows.Design.Interaction.dll)

Sintaxe

'Declaração
Public Sub New ( _
    command As ToolCommand _
)
public ToolCommandBinding(
    ToolCommand command
)
public:
ToolCommandBinding(
    ToolCommand^ command
)
new : 
        command:ToolCommand -> ToolCommandBinding
public function ToolCommandBinding(
    command : ToolCommand
)

Parâmetros

Exceções

Exceção Condição
ArgumentNullException

command is nulluma referência nula (Nothing no Visual Basic).

Segurança do .NET Framework

Consulte também

Referência

ToolCommandBinding Classe

Sobrecargas ToolCommandBinding

Namespace Microsoft.Windows.Design.Interaction

Outros recursos

Extensibilidade do WPF Designer

Ferramenta de Arquitetura