wpf - Bind dynamic value coming from GUI to the viewmodel -


One of my thoughts is an item contract that allows the user to reorder them by an up / down button.

My question is how can I move the current index of items in my Voododal

Find out the following questions on how to find the current index (not so clear but it is not clear

Now, how can I modify the XAM so that it can tie this view into an asset on its view-modal?

Edit The question is how to do this in XAML, a possible solution is that using the code can be observed and changes are made in the archive.

Kind regards, Tom

So your item should be an index pop Need to update, which you need to update when re-ordering the UI?

I will be creating a visual model that defines my item ObservableCollection . You can then handle the collection hangover event, which will set fire to re-order items in your visual model. At this point you can calculate the collection of items updating your index.

Comments

Popular posts from this blog

mysql - BLOB/TEXT column 'value' used in key specification without a key length -

c# - Using Vici cool Storage with monodroid -

python - referencing a variable in another function? -