C# Class MonoMobile.Views.BindingOperations

Exibir arquivo Open project: rhwilburn/MVVM-for-Mono

Private Properties

Property Type Description
GetBindingExpressions IBindingExpression[]
HandleDataContextPropertyChanged void
UpdateBindings void

Public Methods

Method Description
ClearAllBindings ( ) : void
ClearBinding ( object target, string property ) : void
ClearBindings ( object element ) : void
GetBinding ( object target, string property ) : Binding
GetBindingExpression ( Binding binding ) : IBindingExpression
GetBindingExpression ( object target, string property ) : IBindingExpression
GetBindingExpressionsForElement ( object element ) : IBindingExpression[]
IsDataBound ( IBindable target, string property ) : bool
SetBinding ( IBindable target, Binding binding ) : IBindingExpression
SetBinding ( IBindable target, string targetProperty, object dataContext ) : IBindingExpression

Private Methods

Method Description
GetBindingExpressions ( string property ) : IBindingExpression[]
HandleDataContextPropertyChanged ( object sender, PropertyChangedEventArgs e ) : void
UpdateBindings ( ) : void

Method Details

ClearAllBindings() public static method

public static ClearAllBindings ( ) : void
return void

ClearBinding() public static method

public static ClearBinding ( object target, string property ) : void
target object
property string
return void

ClearBindings() public static method

public static ClearBindings ( object element ) : void
element object
return void

GetBinding() public static method

public static GetBinding ( object target, string property ) : Binding
target object
property string
return Binding

GetBindingExpression() public static method

public static GetBindingExpression ( Binding binding ) : IBindingExpression
binding Binding
return IBindingExpression

GetBindingExpression() public static method

public static GetBindingExpression ( object target, string property ) : IBindingExpression
target object
property string
return IBindingExpression

GetBindingExpressionsForElement() public static method

public static GetBindingExpressionsForElement ( object element ) : IBindingExpression[]
element object
return IBindingExpression[]

IsDataBound() public static method

public static IsDataBound ( IBindable target, string property ) : bool
target IBindable
property string
return bool

SetBinding() public static method

public static SetBinding ( IBindable target, Binding binding ) : IBindingExpression
target IBindable
binding Binding
return IBindingExpression

SetBinding() public static method

public static SetBinding ( IBindable target, string targetProperty, object dataContext ) : IBindingExpression
target IBindable
targetProperty string
dataContext object
return IBindingExpression