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
Plugin Development
Problem with updating binding properties
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="Albert" data-source="post: 847239" data-attributes="member: 67886"><p>About the properties not refreshing, I have two comments:</p><p>1) Your code seems well. I would guess your model isn't loaded/referenced correctly. In your previous postings, I saw you reference your model correctly per GUID so I think the problem is that you don't register the plugin in the plugin.xml file correctly. The SkinEngine can only load the model with a given GUID if it is registered using the <Model> element in plugin.xml.</p><p>2) We currently don't support the visibility mode Collapsed at all. Collapsed and Hidden work exactly the same, that's why we always use the IsVisible property instead of the Visibility property.</p><p> </p><p>Did you try our example plugins in the Resources folder? Some things are explained there.</p><p>It's sometimes hard to find a problem when the SkinEngine doesn't work as expected. You can look into the log output and for hard problems, you can switch on more log output in several classes, for example FrameworkElement, BindingMarkupExtension and some more. Sometimes, the only thing which helps is to debug the SkinEngine in the IDE.</p><p>Furthermore, it might be easier to help you when you attach your complete plugin code.</p></blockquote><p></p>
[QUOTE="Albert, post: 847239, member: 67886"] About the properties not refreshing, I have two comments: 1) Your code seems well. I would guess your model isn't loaded/referenced correctly. In your previous postings, I saw you reference your model correctly per GUID so I think the problem is that you don't register the plugin in the plugin.xml file correctly. The SkinEngine can only load the model with a given GUID if it is registered using the <Model> element in plugin.xml. 2) We currently don't support the visibility mode Collapsed at all. Collapsed and Hidden work exactly the same, that's why we always use the IsVisible property instead of the Visibility property. Did you try our example plugins in the Resources folder? Some things are explained there. It's sometimes hard to find a problem when the SkinEngine doesn't work as expected. You can look into the log output and for hard problems, you can switch on more log output in several classes, for example FrameworkElement, BindingMarkupExtension and some more. Sometimes, the only thing which helps is to debug the SkinEngine in the IDE. Furthermore, it might be easier to help you when you attach your complete plugin code. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 2
Plugin Development
Problem with updating binding properties
Contact us
RSS
Top
Bottom