ModelItem.BindFromSource Method

Creates a binding from a source object.

Overload List

  public void BindFromSource(
  IPropertyObject  
  source
  , 
  string  sourceProperty, 
  string  property
);
public void BindFromSource(
  ObjectPropertyPair  source, 
  string  property
);
public void BindFromSource(
  ObjectPropertyPair  source, 
  ITransformer  transformer, 
  string  property
);
public void BindFromSource(
  IPropertyObject  source, 
  string  sourceProperty, 
  ITransformer  transformer, 
  string  property
);

Parameters

source

Microsoft.MediaCenter.UI.IPropertyObject.  The source object.

sourceProperty

System.String.  The source property.

property

System.String.  The local (target) property.

transformer

Microsoft.MediaCenter.UI.ITransformer.  The transform object.

Requirements

Reference: Microsoft.MediaCenter.UI

Namespace: Microsoft.MediaCenter.UI

Assembly: Microsoft.MediaCenter.UI.dll

Platform: Windows Vista Ultimate, Windows Vista Home Premium, and later

See Also