Component GridView of UserControl not updated #1233
Replies: 3 comments 5 replies
-
A few small suggestions:
I don't think that will fix the issue, but it cleans up the code nicely |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
Based on the approach of Update 2, I started to create Thanks for the help so far, you will hear about me again 😆 |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Question
Hi,
I'm building a small application that allows the user to select a folder and then shows the pictures of that folder in a GridView. I had the application working before I encapsulated the code within a
UserControl
. Now, after the directory is selected, the images are not shown, even though the rest of componentes (like theText
that shows the selected folder) of my customUserControl
are updated.My ultimate purpose is to have a
GridView
of Images, and allow the user to edit some EXIF attributes of the selected image. I'm usingUserControl
for keeping track of what image of the grid has been selected by the user. If there is a different way to achieve my goal, I'll be happy to hear :-)Update: I have also noticed that I cannot click with the mouse on the
ElevatedButton
. To activate the button, I usetab
and thenspace
. I guess I'm doing something obviously wrong when usingUserControl
, but I do not know what.Update 2: In this gist it is the same code but without using an
UserControl
. In the gist, the code works as expected. However, I'm not sure how to get control over the clicked image for, for example, make them visually selected, offer the user with options for renaming, editing as image, etc.Code sample
Error message
No response
------------------------------------------------------
Beta Was this translation helpful? Give feedback.
All reactions