ActiveReports 14 .NET Edition
GrapeCity.ActiveReports.Viewer.Wpf Assembly / GrapeCity.ActiveReports.Viewer.Wpf Namespace / Viewer Class / SetResourceReference Method
The property to which the resource is bound.
The name of the resource.

In This Topic
    SetResourceReference Method
    In This Topic
    Searches for a resource with the specified name and sets up a resource reference to it for the specified property.
    Syntax
    'Declaration
     
    Public Sub SetResourceReference( _
       ByVal dp As DependencyProperty, _
       ByVal name As Object _
    ) 
    public void SetResourceReference( 
       DependencyProperty dp,
       object name
    )

    Parameters

    dp
    The property to which the resource is bound.
    name
    The name of the resource.
    See Also