Defines a command that implements ICommand and is routed through the element tree.
Limitation:
when converting from string, doesn't honor xaml namespaces.
If you have several classes with the same name in different namespaces, don't set command in xaml as string,
use binding syntax instead.
Namespace:
C1.PhoneAssembly: C1.Phone (in C1.Phone.dll)
XMLNS for XAML: Not mapped to an xmlns.
Syntax
C# |
---|
[TypeConverterAttribute("CommandConverter")] public class C1Command : ICommand |
Visual Basic |
---|
<TypeConverterAttribute("CommandConverter")> _ Public Class C1Command _ Implements ICommand |
XAML Object Element Usage |
---|
<C1Command .../> |
Inheritance Hierarchy
System..::..Object
C1.Phone..::..C1Command
C1.Phone..::..C1Command