SpreadsheetGear.Windows.Controls Namespace > DropDownButton Class > SetBinding Method : SetBinding(DependencyProperty,String) Method |
'Declaration
Public Overloads Function SetBinding( _ ByVal dp As System.Windows.DependencyProperty, _ ByVal path As System.String _ ) As System.Windows.Data.BindingExpression
'Usage
Dim instance As DropDownButton Dim dp As System.Windows.DependencyProperty Dim path As System.String Dim value As System.Windows.Data.BindingExpression value = instance.SetBinding(dp, path)
public System.Windows.Data.BindingExpression SetBinding( System.Windows.DependencyProperty dp, System.string path )
public function SetBinding( dp: System.Windows.DependencyProperty; path: System.String ): System.Windows.Data.BindingExpression;
public function SetBinding( dp : System.Windows.DependencyProperty, path : System.String ) : System.Windows.Data.BindingExpression;
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