3 implementations of IImageElement
Microsoft.Maui.Controls (3)
Button\Button.cs (1)
17
public partial class Button : View, IFontElement, ITextElement, IBorderElement, IButtonController, IElementConfiguration<Button>, IPaddingElement, IImageController, IViewController, IButtonElement, ICommandElement,
IImageElement
, IButton, ITextButton, IImageButton
Image\Image.cs (1)
10
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
34 references to IImageElement
Microsoft.Maui.Controls (34)
Button\Button.cs (7)
405
Aspect
IImageElement
.Aspect => Aspect.AspectFit;
406
ImageSource
IImageElement
.Source => ImageSource;
407
bool
IImageElement
.IsOpaque => false;
410
void
IImageElement
.RaiseImageSourcePropertyChanged() => OnPropertyChanged(ImageSourceProperty.PropertyName);
433
bool
IImageElement
.IsLoading => false;
435
bool
IImageElement
.IsAnimationPlaying => false;
437
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)
98
void
IImageElement
.OnImageSourceSourceChanged(object sender, EventArgs e) =>
101
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)
Platform\iOS\DragAndDropDelegate.cs (1)
204
if (args.Data.Image == null && handler.VirtualView is
IImageElement
imageElement)