remove Image in ImageSelector #835
|
Hi |
Replies: 3 comments
|
|
|
Naturally, there is no way, Uri property is readonly. I will solve this problem soon |
|
@ghost1372 I just made @md131376st I updated the HandyControl demo on a specific demo branch.
2021-05-22-02-17-03.mp4 |
@ghost1372 I just made
DependencyPropertyregisteration ofUri,HasValue,PreviewBrushas normal, instead of being read only on theImageSelectorclass, 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
ImageSelectoras follows:Buttonwith a Name attribute and also assign a Name to theImageSelector.OnClickevent of theButtonon the C# classUri,HasValue,PreviewBrushof the specifiedImageSelector.2021-05-22-02-17-03.mp4