Interface Efl.Ui.IPropertyBind
Efl UI Property_Bind interface. view object can have Efl.IModel to manage the data, the interface can help loading and tracking child data from the model property. see Efl.IModel see Efl.Ui.IFactory
Syntax
public interface IPropertyBind : IWrapper, IDisposable
Methods
BindProperty(String, String)
bind property data with the given key string. when the data is ready or changed, bind the data to the key action and process promised work.
Declaration
Error BindProperty(string key, string property)
Parameters
Type | Name | Description |
---|---|---|
System.String | key | key string for bind model property data |
System.String | property | Model property name |
Returns
Type | Description |
---|---|
Eina.Error | 0 when it succeed, an error code otherwise. |
Events
PropertiesChangedEvent
Event dispatched when a property on the object has changed due to a user interaction on the object that a model could be interested in.
Declaration
event EventHandler<PropertyBindPropertiesChangedEventArgs> PropertiesChangedEvent
Event Type
Type | Description |
---|---|
System.EventHandler<Efl.Ui.PropertyBindPropertiesChangedEventArgs> |
PropertyBoundEvent
Event dispatched when a property on the object is bound to a model. This is useful to avoid generating too many events.
Declaration
event EventHandler<PropertyBindPropertyBoundEventArgs> PropertyBoundEvent
Event Type
Type | Description |
---|---|
System.EventHandler<Efl.Ui.PropertyBindPropertyBoundEventArgs> |