remove Image in ImageSelector #835
-
Hi |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments
-
|
Beta Was this translation helpful? Give feedback.
-
Naturally, there is no way, Uri property is readonly. I will solve this problem soon |
Beta Was this translation helpful? Give feedback.
-
@ghost1372 I just made @md131376st I updated the HandyControl demo on a specific demo branch.
2021-05-22-02-17-03.mp4 |
Beta Was this translation helpful? Give feedback.
@ghost1372 I just made
DependencyProperty
registeration ofUri
,HasValue
,PreviewBrush
as normal, instead of being read only on theImageSelector
class, and created a pull request #836.@md131376st I updated the HandyControl demo on a specific demo branch.
You can add an external element to control
ImageSelector
as follows:Button
with a Name attribute and also assign a Name to theImageSelector
.OnClick
event of theButton
on the C# classUri
,HasValue
,PreviewBrush
of the specifiedImageSelector
.2021-05-22-02-17-03.mp4