I don't understand your question.
To learn about data binding, you can read http://msdn.microsoft.com/en-us/library/ms752347.aspx
To bind a ListView to underlaying data, you need a data model.
You can look into the screens of the default skin to see how we use the ListView. Look into the code of the referenced models to see how a model is written.
Hi, my problem is that accessor get function in GetContacts property works correctly but ListView still doesn't show anything. Where is the problem here?
Here is how implemented my property:
private ItemsList _listContacts=null;
public ItemsList GetContacts
{
get
{
return _listContacts;
}
set
{
if (_listContacts == value) return;
_listContacts = value;
OnPropertyChanged("GetContacts");
}
}
That seems well, as far as I can see.
One of Context/DataContext is obsolete in your example, they both assign the same data context and it is inherited to child elements.
Is the model you're using registered in the plugin.xml file?
Which items are in the ItemsList which is returned by GetContacts? Btw, you should name the property Contacts, not GetContacts.
Oh, I missed something: Your DockPanel doesn't contain a key. I guess you're using one of the templates master_bare or master_menu for your include. Depending on that template, you must assign an appropriate key to your DockPanel, see the description in the template screen you're using.
Could you give an example of adding rows to ListView (how to implement String property which is linked to itemsSource ListView). This property returns a list of simple strings.
I would like to ask few more questions.
How do I make property password in MediaPortal2 to keep data secret while entering the text into textBox like in WPF PasswordBox ?
How do I implement Visible property correctly? If I make property for texBox this way it will be ignored.
public Plugin()
{
_registrContentVisibility = new WProperty(typeof(Visibility), null);
RegistrContentVisibility = Visibility.Collapsed;
}
public AbstractProperty RegistrContentVisibilityProperty
{
get { return _registrContentVisibility; }
}
public Visibility RegistrContentVisibility
{
get { return (Visibility)_registrContentVisibility.GetValue(); }
set { _registrContentVisibility.SetValue(value); }
}
I do not know why this xml was in my theme folders, it must have sneaked in some time ago (years?). I simply removed the file. The Latest Media Handler plugin seems to be working as expected. I've had no lock-ups.
I do not know why this xml was in my theme folders, it must have sneaked in some time ago (years?). I simply removed the file. The...
Before you create this bug report:
Make sure that your system (windows, codecs and drivers) is up to date, matching the...
Nevermind, I think. I found them in the forum. I had only checked the main webiste for MP2 plugins.
https://www.team-mediaportal.com/extensions/mp2-plugins
I hope these work: Featured Plugins
Nevermind, I think. I found them in the forum. I had only checked the main webiste for MP2 plugins...
I've been an MP1 user for a long time. I'm interested in switching to MP2. However, I rely heavily on the features provided by...
Thank you for pointing out that my analysis may be less than accurate. :eek: :p
Although the change to TV channel 71 may not also have been applied to the independent radio channels (different MUXes), the logs that I prepared for one of the development team does show a difference between channel 704 ("BBC Radio 4") and channel 731...
Thank you for pointing out that my analysis may be less than accurate. :eek: :p
Although the change to TV channel 71 may not also...
I have just discovered that I can no longer receive any of the independent radio channels broadcast on DVB-T in the UK. In...