ActiveReports 10
SetBinding(DependencyProperty,String) Method

GrapeCity.ActiveReports.Viewer.Wpf.v10 Assembly > GrapeCity.ActiveReports.Viewer.Wpf Namespace > Viewer Class > SetBinding Method : SetBinding(DependencyProperty,String) Method
Identifies the destination property where the binding should be established.
The source property name or the path to the property used for the binding.
Attaches a binding to this element, based on the provided source property name as a path qualification to the data source.
Syntax
'Declaration
 
Public Overloads Function SetBinding( _
   ByVal dp As DependencyProperty, _
   ByVal path As String _
) As BindingExpression
public BindingExpression SetBinding( 
   DependencyProperty dp,
   string path
)

Parameters

dp
Identifies the destination property where the binding should be established.
path
The source property name or the path to the property used for the binding.

Return Value

Records the conditions of the binding. This return value can be useful for error checking.
See Also

Reference

Viewer Class
Viewer Members
Overload List