From f231ceb48ea1c1a982860a3537f0e8a2acbb4be9 Mon Sep 17 00:00:00 2001 From: Richard Huang Date: Mon, 25 Apr 2016 13:54:30 +0100 Subject: [PATCH] Clarify the action propagation behaviour in custom control development guide Change-Id: I492c0e5275f89ea4370b5c22e33d4f1af4f4750f --- docs/content/programming-guide/type-registration.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/content/programming-guide/type-registration.h b/docs/content/programming-guide/type-registration.h index bef67d0..e9912ef 100644 --- a/docs/content/programming-guide/type-registration.h +++ b/docs/content/programming-guide/type-registration.h @@ -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 -- 2.7.4