WPF Binding: Expression evaluation -
I have a list box in Markup and an extension control list box template determines a description button for each element. If this button is pressurized for the dependency's property in the element's datasource, the visibility is set to == visible. As long as I have a select object, everything is fine. But if there are no selected items, then the extension control is always displayed. Markup:
& lt; List box x: name = "myListbox" /> & Lt; Local: detailcontrol visibility = "{binding element name = myListbox, path = chosen itam.individuality}" />
Everything I need is something like this:
& lt; Listbox x: name = "myListbox" /> & Lt; Local: detailcontrol visibility = "myListbox.SelectedItem! = Tap? {Binding element name = myListbox, path = selected Iemem.DetailVisibility}: Visiblity.Hidden" />
The snippets do not compile both, but they are made available for clarifying my point.
Comments
Post a Comment