1 write to IconImageSource
Microsoft.Maui.Controls (1)
Toolbar\ToolbarItem.cs (1)
29
IconImageSource
= icon;
20 references to IconImageSource
Microsoft.Maui.Controls (18)
Compatibility\iOS\Extensions\ToolbarItemExtensions.cs (12)
38
if (item.
IconImageSource
!= null && !item.
IconImageSource
.IsEmpty && !forceName)
78
if (item.
IconImageSource
== null || item.
IconImageSource
.IsEmpty || _forceName)
85
if (item.
IconImageSource
!= null && !item.
IconImageSource
.IsEmpty)
101
if (item?.
IconImageSource
== null)
108
item.
IconImageSource
.LoadImage(item.FindMauiContext(), result =>
112
if (item.
IconImageSource
is FontImageSource fontImageSource && fontImageSource.Color is not null)
192
if (item.
IconImageSource
!= null && !item.
IconImageSource
.IsEmpty)
194
item.
IconImageSource
.LoadImage(item.FindMauiContext(), result =>
Menu\MenuItem.cs (3)
32
/// <summary>Bindable property for <see cref="
IconImageSource
"/>.</summary>
33
public static readonly BindableProperty IconImageSourceProperty = BindableProperty.Create(nameof(
IconImageSource
), typeof(ImageSource), typeof(MenuItem), default(ImageSource),
150
IImageSource IImageSourcePart.Source => this.
IconImageSource
;
Shell\BaseShellItem.cs (1)
445
imageBinding = Binding.Create(static (MenuItem item) => item.
IconImageSource
);
Shell\MenuShellItem.cs (2)
19
this.SetBinding(IconProperty, static (MenuItem item) => item.
IconImageSource
, BindingMode.OneWay, source: menuItem);
20
this.SetBinding(FlyoutIconProperty, static (MenuItem item) => item.
IconImageSource
, BindingMode.OneWay, source: menuItem);
Microsoft.Maui.Controls.Compatibility (2)
Tizen\Renderers\NavigationPageRenderer.cs (2)
350
if (item.
IconImageSource
!= null)
355
_ = button.Icon.LoadFromImageSourceAsync(item.
IconImageSource
);