When implemented in a derived class, returns an object that is set as the value of the target property for this markup extension.
Assembly: WindowsBase (in WindowsBase.dll)
public: virtual Object^ ProvideValue( IServiceProvider^ serviceProvider ) abstract
- Type: System::IServiceProvider
Object that can provide services for the markup extension.
Return ValueType: System::Object
The object value to set on the property where the extension is applied.
Implementations of this method can ignore the serviceProvider parameter, but must also expect nullptr values in this case.
Implementations that require a certain service to return a value are expected to raise exceptions if that service is not available.
Windows 7, Windows Vista, Windows XP SP2, Windows Server 2008 R2, Windows Server 2008, Windows Server 2003
The .NET Framework and .NET Compact Framework do not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.