Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Native Development

Posts: 102
Registered: ‎06-03-2012
My Device: Playbook
My Carrier: *

From ControlDelegate cannot access ContextProperty

If I create a some controls using ControlDelegate I do not have access to my ContextProperties of the root QmlDocument from within theese controls.


Is this a bug or by design? Are there known workarounds?


If tried doing something like this without success:

    ControlDelegate {
        source: "DetailSheet.qml"
        delegateActive: false

        onControlChanged: {
            if (control) {
                control.app = root.app // <<<<< Passing the context property


BB Apps: Pattern :: Plonk