3 implementations of IImageElement
Microsoft.Maui.Controls (3)
Button\Button.cs (1)
16 public partial class Button : View, IFontElement, ITextElement, IBorderElement, IButtonController, IElementConfiguration<Button>, IPaddingElement, IImageController, IViewController, IButtonElement, ICommandElement, IImageElement, IButton, ITextButton, IImageButton
Image\Image.cs (1)
8 public partial class Image : View, IImageController, IElementConfiguration<Image>, IViewController, IImageElement, IImage
ImageButton\ImageButton.cs (1)
14 public partial class ImageButton : View, IImageController, IElementConfiguration<ImageButton>, IBorderElement, IButtonController, IViewController, IPaddingElement, IButtonElement, ICommandElement, IImageElement, IImageButton
33 references to IImageElement
Microsoft.Maui.Controls (33)
Button\Button.cs (7)
404 Aspect IImageElement.Aspect => Aspect.AspectFit; 405 ImageSource IImageElement.Source => ImageSource; 406 bool IImageElement.IsOpaque => false; 409 void IImageElement.RaiseImageSourcePropertyChanged() => OnPropertyChanged(ImageSourceProperty.PropertyName); 432 bool IImageElement.IsLoading => false; 434 bool IImageElement.IsAnimationPlaying => false; 436 void IImageElement.OnImageSourceSourceChanged(object sender, EventArgs e) =>
DragAndDrop\DragGestureRecognizer.cs (1)
130 if (args.Data.Image == null && element is IImageElement ie)
DragAndDrop\DropGestureRecognizer.cs (2)
125 if (sourceTarget == null && dragSource is IImageElement imageElement) 134 if (Parent is IImageElement && sourceTarget == null)
Image\Image.cs (2)
96 void IImageElement.OnImageSourceSourceChanged(object sender, EventArgs e) => 99 void IImageElement.RaiseImageSourcePropertyChanged() =>
ImageButton\ImageButton.cs (2)
230 void IImageElement.OnImageSourceSourceChanged(object sender, EventArgs e) => 233 bool IImageElement.IsAnimationPlaying
ImageElement.cs (19)
11 public static readonly BindableProperty ImageSourceProperty = BindableProperty.Create("ImageSource", typeof(ImageSource), typeof(IImageElement), default(ImageSource), 14 /// <summary>Bindable property for <see cref="IImageElement.Source"/>.</summary> 15 public static readonly BindableProperty SourceProperty = BindableProperty.Create(nameof(IImageElement.Source), typeof(ImageSource), typeof(IImageElement), default(ImageSource), 18 /// <summary>Bindable property for <see cref="IImageElement.Aspect"/>.</summary> 19 public static readonly BindableProperty AspectProperty = BindableProperty.Create(nameof(IImageElement.Aspect), typeof(Aspect), typeof(IImageElement), Aspect.AspectFit); 21 /// <summary>Bindable property for <see cref="IImageElement.IsOpaque"/>.</summary> 22 public static readonly BindableProperty IsOpaqueProperty = BindableProperty.Create(nameof(IImageElement.IsOpaque), typeof(bool), typeof(IImageElement), false); 24 internal static readonly BindableProperty IsAnimationPlayingProperty = BindableProperty.Create(nameof(IImageElement.IsAnimationPlaying), typeof(bool), typeof(IImageElement), false); 29 var image = (IImageElement)bindable; 38 var image = (IImageElement)bindable; 46 public static SizeRequest Measure(IImageElement ImageElementManager, SizeRequest desiredSize, double widthConstraint, double heightConstraint) 102 public static void OnBindingContextChanged(IImageElement image, VisualElement visualElement) 149 if (sender is IImageElement imageController)