C# Class Dev2.Studio.Dock.BindingHelper

Static class with methods relating to binding
显示文件 Open project: Warewolf-ESB/Warewolf Class Usage Examples

Public Methods

Method Description
BindPath ( DependencyObject container, object item, string path, DependencyProperty targetProperty ) : void

Binds the specified target property to the specified path property.

IsXmlNode ( object item ) : bool

Returns a boolean indicating if the specified object is an xml node object without forcing the Xml assembly to be loaded

Private Methods

Method Description
IsXmlNodeHelper ( object item ) : bool

Method Details

BindPath() public static method

Binds the specified target property to the specified path property.
public static BindPath ( DependencyObject container, object item, string path, DependencyProperty targetProperty ) : void
container System.Windows.DependencyObject The element associated with the item
item object The underlying data item
path string The path property to provide the value for the specified
targetProperty System.Windows.DependencyProperty The property whose value is to come from the specified path of the underlying data item.
return void

IsXmlNode() public static method

Returns a boolean indicating if the specified object is an xml node object without forcing the Xml assembly to be loaded
public static IsXmlNode ( object item ) : bool
item object The object to evaluate
return bool