Table of Contents

Property BindsDirectlyToSource

Namespace
Alternet.UI
Assembly
Alternet.UI.dll

BindsDirectlyToSource

True if Binding should interpret its path relative to the data item itself.

public bool BindsDirectlyToSource { get; set; }

Property Value

bool

Remarks

The normal behavior (when this property is false) includes special treatment for a data item that implements IDataSource. In this case, the path is treated relative to the object obtained from the IDataSource.Data property. In addition, the binding listens for the IDataSource.DataChanged event and reacts accordingly. Setting this property to true overrides this behavior and gives the binding access to properties on the data source object itself.