Метод | Описание | |
---|---|---|
DataContextCommandAdapter ( ) : System |
Initializes a new instance of the DataContextCommandAdapter class.
|
|
DataContextCommandAdapter ( string executed ) : System |
Initializes a new instance of the DataContextCommandAdapter class by using the specified method name for the Executed property.
|
|
DataContextCommandAdapter ( string executed, string canExecute ) : System |
Initializes a new instance of the DataContextCommandAdapter class by using the specified method names for the Executed and CanExecute properties.
|
|
ProvideValue ( IServiceProvider serviceProvider ) : object |
Returns an ICommand that is capable of executing methods of the DataContext of the target.
|
Метод | Описание | |
---|---|---|
GetDataContext ( object element ) : object | ||
GetInputBindingsCollectionOwner ( IProvideValueTarget targetService ) : object | ||
ICommand ( object parameter ) : bool | ||
ICommand ( object parameter ) : void |
public DataContextCommandAdapter ( ) : System | ||
Результат | System |
public DataContextCommandAdapter ( string executed ) : System | ||
executed | string |
/// The name of the |
Результат | System |
public DataContextCommandAdapter ( string executed, string canExecute ) : System | ||
executed | string |
/// The name of the |
canExecute | string |
/// The name of the |
Результат | System |
public ProvideValue ( IServiceProvider serviceProvider ) : object | ||
serviceProvider | IServiceProvider | /// Object that can provide services for the markup extension. /// |
Результат | object |