Clarify the action propagation behaviour in custom control development guide 82/67182/2
authorRichard Huang <r.huang@samsung.com>
Mon, 25 Apr 2016 12:54:30 +0000 (13:54 +0100)
committerRichard Huang <r.huang@samsung.com>
Mon, 25 Apr 2016 15:27:48 +0000 (16:27 +0100)
Change-Id: I492c0e5275f89ea4370b5c22e33d4f1af4f4750f

docs/content/programming-guide/type-registration.h

index bef67d0..e9912ef 100644 (file)
@@ -184,6 +184,10 @@ bool MyControl::DoAction(
 }
 @endcode
 
+If the action is not performed by the derived class, it will be propagated to the base class.
+For example, in the above case, MyControl can perform "action1" so should return true, but it
+cannot perform "action4" so should return false and propagate the action to Control.
+
 @section register-property Registering a Property
 
 DALi has a property system which can be extended by registering more properties through the type