SpreadsheetGear 2017
SetBinding Method (SheetPresenter)






SpreadsheetGear.Windows.Controls Namespace > SheetPresenter Class : SetBinding Method
Syntax
'Declaration
 
Public Function SetBinding( _
   ByVal dp As System.Windows.DependencyProperty, _
   ByVal binding As System.Windows.Data.Binding _
) As System.Windows.Data.BindingExpressionBase
'Usage
 
Dim instance As SheetPresenter
Dim dp As System.Windows.DependencyProperty
Dim binding As System.Windows.Data.Binding
Dim value As System.Windows.Data.BindingExpressionBase
 
value = instance.SetBinding(dp, binding)
public System.Windows.Data.BindingExpressionBase SetBinding( 
   System.Windows.DependencyProperty dp,
   System.Windows.Data.Binding binding
)
public function SetBinding( 
    dp: System.Windows.DependencyProperty;
    binding: System.Windows.Data.Binding
): System.Windows.Data.BindingExpressionBase; 
public function SetBinding( 
   dp : System.Windows.DependencyProperty,
   binding : System.Windows.Data.Binding
) : System.Windows.Data.BindingExpressionBase;
public: System.Windows.Data.BindingExpressionBase* SetBinding( 
   System.Windows.DependencyProperty* dp,
   System.Windows.Data.Binding* binding
) 
public:
System.Windows.Data.BindingExpressionBase^ SetBinding( 
   System.Windows.DependencyProperty^ dp,
   System.Windows.Data.Binding^ binding
) 

Parameters

dp
binding
Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

SheetPresenter Class
SheetPresenter Members