Property | Type | Description |
---|
Method | Description | |
---|---|---|
ProvideValue ( IServiceProvider provider ) : object |
This basic implementation just sets a binding on the targeted DependencyObject and returns the appropriate BindingExpressionBase instance.
|
Method | Description | |
---|---|---|
TryGetTargetItems ( IServiceProvider provider, |
Validates a service provider that was submitted to the ProvideValue method. This method checks whether the provider is null (happens at design time), whether it provides an IProvideValueTarget service, and whether the service's IProvideValueTarget.TargetObject and IProvideValueTarget.TargetProperty properties are valid DependencyObject and DependencyProperty instances.
|
public ProvideValue ( IServiceProvider provider ) : object | ||
provider | IServiceProvider | Object that can provide services for the markup /// extension. |
return | object |
protected TryGetTargetItems ( IServiceProvider provider, |
||
provider | IServiceProvider | The provider to be validated. |
target | The binding target of the binding. | |
dp | The target property of the binding. | |
return | bool |