MarkupExtension.ProvideValue Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
ProvideValue() |
When implemented in a derived class, returns an object that is provided as the value of the target property for this markup extension. |
ProvideValue(IXamlServiceProvider) |
Retrieves an object that is the value of the target service provider. |
ProvideValue()
When implemented in a derived class, returns an object that is provided as the value of the target property for this markup extension.
protected:
virtual Platform::Object ^ ProvideValue() = ProvideValue;
/// [Windows.Foundation.Metadata.Overload("ProvideValue")]
IInspectable ProvideValue();
[Windows.Foundation.Metadata.Overload("ProvideValue")]
protected virtual object ProvideValue();
function provideValue()
Protected Overridable Function ProvideValue () As Object
Returns
The object value to set on the property where the extension is applied.
- Attributes
Applies to
ProvideValue(IXamlServiceProvider)
Retrieves an object that is the value of the target service provider.
protected:
virtual Platform::Object ^ ProvideValue(IXamlServiceProvider ^ serviceProvider) = ProvideValue;
/// [Windows.Foundation.Metadata.Overload("ProvideValueWithIXamlServiceProvider")]
IInspectable ProvideValue(IXamlServiceProvider const& serviceProvider);
[Windows.Foundation.Metadata.Overload("ProvideValueWithIXamlServiceProvider")]
protected virtual object ProvideValue(IXamlServiceProvider serviceProvider);
function provideValue(serviceProvider)
Protected Overridable Function ProvideValue (serviceProvider As IXamlServiceProvider) As Object
Parameters
- serviceProvider
- IXamlServiceProvider
The target service provider.
Returns
An object that is the value of the target service provider.
- Attributes