Returns an object that is set as the value of the target property for this markup extension.

Namespace:  C1.WPF.Localization
Assembly:  C1.WPF.C1Schedule (in C1.WPF.C1Schedule.dll)

Syntax

C#
public override Object ProvideValue(
	IServiceProvider serviceProvider
)
Visual Basic (Declaration)
Public Overrides Function ProvideValue ( _
	serviceProvider As IServiceProvider _
) As Object

Parameters

serviceProvider
Type: System..::..IServiceProvider
The IProvideValueTarget provided from the MarkupExtension

Return Value

The founded item from the .resx directory or default value if not founded.

Exceptions

ExceptionCondition
System..::..InvalidOperationException thrown if serviceProvider is not type of IProvideValueTarget

See Also