minor fixes for dialog & imagebutton
This commit is contained in:
@@ -22,7 +22,11 @@ public partial class ImageSplitButton : SplitButton
|
||||
public IImage? ImageSource
|
||||
{
|
||||
get => ButtonImage.Source;
|
||||
set => ButtonImage.Source = value;
|
||||
set
|
||||
{
|
||||
ButtonImage.Source = value;
|
||||
ButtonImage.IsVisible = value != null;
|
||||
}
|
||||
}
|
||||
|
||||
public double ImageWidth
|
||||
|
||||
Reference in New Issue
Block a user