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
The problem with using the controls in the 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="d2Liks" data-source="post: 846254" data-attributes="member: 119567"><p>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.</p><p> </p><p>I would like to ask few more questions.</p><p> </p><p>How do I make property password in MediaPortal2 to keep data secret while entering the text into textBox like in WPF PasswordBox ?</p><p> </p><p>How do I implement Visible property correctly? If I make property for texBox this way it will be ignored.</p><p> </p><p>private AbstractProperty _registrContentVisibility;</p><p> </p><p> public Plugin()</p><p>{</p><p> _registrContentVisibility = new WProperty(typeof(Visibility), null); </p><p> RegistrContentVisibility = Visibility.Collapsed;</p><p>} </p><p> </p><p>public AbstractProperty RegistrContentVisibilityProperty</p><p>{</p><p>get { return _registrContentVisibility; }</p><p>}</p><p> </p><p>public Visibility RegistrContentVisibility</p><p>{</p><p>get { return (Visibility)_registrContentVisibility.GetValue(); }</p><p>set { _registrContentVisibility.SetValue(value); }</p><p>}</p><p> </p><p> </p><p><TextBox Visibility="{Binding Path= RegistrContentVisibility , Mode=TwoWay}"></p></blockquote><p></p>
[QUOTE="d2Liks, post: 846254, member: 119567"] 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. private AbstractProperty _registrContentVisibility; 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); } } <TextBox Visibility="{Binding Path= RegistrContentVisibility , Mode=TwoWay}"> [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 2
Plugin Development
The problem with using the controls in the skin
Contact us
RSS
Top
Bottom