home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 2
Skins and Design
BlueVision
Windows 10 Theme for BlueVision skin
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="morpheus_xx" data-source="post: 1155373" data-attributes="member: 48495"><p>I have checked this. One error is in markup, it needs to be x:Key="<strong>Alternative_</strong>Footer_Template". But the real issue is, that you cannot address another element by name from within a control template. I have tried to set DataContext to TemplatedParent, didn't help. I tried different ways for binding without success. </p><p>The issue is the name lookup in control: it tries to find the control, then it looks in parent until a INameScope is found. This happens inside template only, not the screen which uses the template.</p><p></p><p>This means we would need a backing model for menu item selection where we can bind to from footer. So no immediate solution possible right now <img src="data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7" class="smilie smilie--sprite smilie--sprite3" alt=":(" title="Frown :(" loading="lazy" data-shortname=":(" /></p></blockquote><p></p>
[QUOTE="morpheus_xx, post: 1155373, member: 48495"] I have checked this. One error is in markup, it needs to be x:Key="[B]Alternative_[/B]Footer_Template". But the real issue is, that you cannot address another element by name from within a control template. I have tried to set DataContext to TemplatedParent, didn't help. I tried different ways for binding without success. The issue is the name lookup in control: it tries to find the control, then it looks in parent until a INameScope is found. This happens inside template only, not the screen which uses the template. This means we would need a backing model for menu item selection where we can bind to from footer. So no immediate solution possible right now :( [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 2
Skins and Design
BlueVision
Windows 10 Theme for BlueVision skin
Contact us
RSS
Top
Bottom