2 instantiations of Image
Microsoft.Maui.Controls (2)
Shell\BaseShellItem.cs (1)
454
var image = new
Image
();
TitleBar\TitleBar.cs (1)
391
var icon = new
Image
()
35 references to Image
Microsoft.Maui.Controls (29)
DragAndDrop\DropGestureRecognizer.cs (1)
137
if (Parent is
Image
image)
Hosting\AppHostBuilderExtensions.cs (1)
75
handlersCollection.AddHandler<
Image
, ImageHandler>();
Image\Image.cs (6)
8
public partial class Image : View, IImageController, IElementConfiguration<
Image
>, IViewController, IImageElement, IImage
19
internal static readonly BindablePropertyKey IsLoadingPropertyKey = BindableProperty.CreateReadOnly(nameof(IsLoading), typeof(bool), typeof(
Image
), default(bool));
27
readonly Lazy<PlatformConfigurationRegistry<
Image
>> _platformConfigurationRegistry;
32
_platformConfigurationRegistry = new Lazy<PlatformConfigurationRegistry<
Image
>>(() => new PlatformConfigurationRegistry<
Image
>(this));
85
public IPlatformElementConfiguration<T,
Image
> On<T>() where T : IConfigPlatform
Layout\FlexLayout.cs (1)
509
if (child is
Image
)
PlatformConfiguration\TizenSpecific\Image.cs (9)
5
using FormsElement = Maui.Controls.
Image
;
11
public static readonly BindableProperty BlendColorProperty = BindableProperty.Create("BlendColor", typeof(Color), typeof(
FormsElement
), null);
14
public static readonly BindableProperty FileProperty = BindableProperty.Create("File", typeof(string), typeof(
FormsElement
), default(string));
29
public static Color GetBlendColor(this IPlatformElementConfiguration<Tizen,
FormsElement
> config)
35
public static IPlatformElementConfiguration<Tizen,
FormsElement
> SetBlendColor(this IPlatformElementConfiguration<Tizen,
FormsElement
> config, Color color)
54
public static string GetFile(this IPlatformElementConfiguration<Tizen,
FormsElement
> config)
60
public static IPlatformElementConfiguration<Tizen,
FormsElement
> SetFile(this IPlatformElementConfiguration<Tizen,
FormsElement
> config, string file)
Shell\BaseShellItem.cs (9)
331
flyoutItemCell.Children.OfType<
Image
>().First()
373
var defaultImageClass = new Style(typeof(
Image
))
376
new Setter { Property =
Image
.VerticalOptionsProperty, Value = LayoutOptions.Center }
454
var
image = new Image();
468
defaultImageClass.Setters.Add(new Setter() { Property =
Image
.HeightRequestProperty, Value = sizeRequest });
469
defaultImageClass.Setters.Add(new Setter() { Property =
Image
.WidthRequestProperty, Value = sizeRequest });
474
defaultImageClass.Setters.Add(new Setter { Property =
Image
.HorizontalOptionsProperty, Value = LayoutOptions.Start });
475
defaultImageClass.Setters.Add(new Setter { Property =
Image
.MarginProperty, Value = new Thickness(12, 0, 12, 0) });
478
defaultImageClass.Setters.Add(new Setter { Property =
Image
.SourceProperty, Value = imageBinding });
TitleBar\TitleBar.cs (2)
391
var
icon = new Image()
404
Image
.SourceProperty,
Microsoft.Maui.Controls.Compatibility (6)
Tizen\Renderers\ImageRenderer.cs (5)
13
public class ImageRenderer : ViewRenderer<
Image
, NImage>
17
RegisterPropertyHandler(
Image
.SourceProperty, UpdateSource);
18
RegisterPropertyHandler(
Image
.AspectProperty, UpdateAspect);
19
RegisterPropertyHandler(
Image
.IsAnimationPlayingProperty, UpdateIsAnimationPlaying);
22
protected override void OnElementChanged(ElementChangedEventArgs<
Image
> e)
Tizen\StaticRegistrar.cs (1)
78
Registered.Register(typeof(
Image
), () => new ImageRenderer());