Skip to content

Caixa de lista de carga #5512

Answered by jp2masa
CarlosEX asked this question in Q&A
Feb 18, 2021 · 1 comments · 9 replies
Discussion options

You must be logged in to vote

ListBox.Items is an enumerable. So for example you could do this.DataContext = new Person[] { new Person() { ... } } and then <ListBox Items="{Binding}" (this would bind the items to the DataContext value itself, which is the array).

Replies: 1 comment 9 replies

Comment options

You must be logged in to vote
9 replies
@CarlosEX
Comment options

@CarlosEX
Comment options

@CarlosEX
Comment options

@jp2masa
Comment options

@CarlosEX
Comment options

Answer selected by CarlosEX
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants