Core Library for WPF | ComponentOne
C1.WPF.Localization Namespace / C1LocalizeExtension Class / ProvideValue Method
The System.Windows.Markup.IProvideValueTarget provided from the MarkupExtension

In This Topic
    ProvideValue Method
    In This Topic
    Returns an object that is set as the value of the target property for this markup extension.
    Syntax
    'Declaration
     
    
    Public Overrides Function ProvideValue( _
       ByVal serviceProvider As IServiceProvider _
    ) As Object
    public override object ProvideValue( 
       IServiceProvider serviceProvider
    )

    Parameters

    serviceProvider
    The System.Windows.Markup.IProvideValueTarget provided from the MarkupExtension

    Return Value

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