ActiveReports 14 .NET Edition
GrapeCity.ActiveReports.Viewer.Wpf Assembly / GrapeCity.ActiveReports.Viewer.Wpf Namespace / ParametersPanel Class / SetCurrentValue(DependencyProperty,Object) Method
The identifier of the dependency property to set.
The new local value.

In This Topic
    SetCurrentValue(DependencyProperty,Object) Method
    In This Topic
    Sets the value of a dependency property without changing its value source.
    Syntax
    'Declaration
     
    Public Sub SetCurrentValue( _
       ByVal dp As DependencyProperty, _
       ByVal value As Object _
    ) 
    public void SetCurrentValue( 
       DependencyProperty dp,
       object value
    )

    Parameters

    dp
    The identifier of the dependency property to set.
    value
    The new local value.
    Exceptions
    ExceptionDescription
    Attempted to modify a read-only dependency property, or a property on a sealed System.Windows.DependencyObject.
    value was not the correct type as registered for the dp property.
    See Also