25 references to ImageButton
Microsoft.Maui.Controls (25)
Button\Button.cs (1)
208
/// <remarks>For more options have a look at <see cref="
ImageButton
"/>.</remarks>
DragAndDrop\DropGestureRecognizer.cs (1)
139
else if (Parent is
ImageButton
ib)
Hosting\AppHostBuilderExtensions.cs (1)
104
handlersCollection.AddHandler<
ImageButton
, ImageButtonHandler>();
ImageButton\ImageButton.cs (7)
14
public partial class ImageButton : View, IImageController, IElementConfiguration<
ImageButton
>, IBorderElement, IButtonController, IViewController, IPaddingElement, IButtonElement, ICommandElement, IImageElement, IImageButton
42
internal static readonly BindablePropertyKey IsLoadingPropertyKey = BindableProperty.CreateReadOnly(nameof(IsLoading), typeof(bool), typeof(
ImageButton
), default(bool));
47
internal static readonly BindablePropertyKey IsPressedPropertyKey = BindableProperty.CreateReadOnly(nameof(IsPressed), typeof(bool), typeof(
ImageButton
), default(bool));
59
readonly Lazy<PlatformConfigurationRegistry<
ImageButton
>> _platformConfigurationRegistry;
65
_platformConfigurationRegistry = new Lazy<PlatformConfigurationRegistry<
ImageButton
>>(() => new PlatformConfigurationRegistry<
ImageButton
>(this));
161
public IPlatformElementConfiguration<T,
ImageButton
> On<T>() where T : IConfigPlatform => _platformConfigurationRegistry.Value.On<T>();
PlatformConfiguration\AndroidSpecific\ImageButton.cs (14)
5
using FormsImageButton = Maui.Controls.
ImageButton
;
12
public static readonly BindableProperty IsShadowEnabledProperty = BindableProperty.Create("IsShadowEnabled", typeof(bool), typeof(Maui.Controls.
ImageButton
), false);
27
public static bool GetIsShadowEnabled(this IPlatformElementConfiguration<Android,
FormsImageButton
> config)
33
public static IPlatformElementConfiguration<Android,
FormsImageButton
> SetIsShadowEnabled(this IPlatformElementConfiguration<Android,
FormsImageButton
> config, bool value)
55
public static Color GetShadowColor(this IPlatformElementConfiguration<Android,
FormsImageButton
> config)
61
public static IPlatformElementConfiguration<Android,
FormsImageButton
> SetShadowColor(this IPlatformElementConfiguration<Android,
FormsImageButton
> config, Color value)
83
public static double GetShadowRadius(this IPlatformElementConfiguration<Android,
FormsImageButton
> config)
89
public static IPlatformElementConfiguration<Android,
FormsImageButton
> SetShadowRadius(this IPlatformElementConfiguration<Android,
FormsImageButton
> config, double value)
111
public static Size GetShadowOffset(this IPlatformElementConfiguration<Android,
FormsImageButton
> config)
117
public static IPlatformElementConfiguration<Android,
FormsImageButton
> SetShadowOffset(this IPlatformElementConfiguration<Android,
FormsImageButton
> config, Size value)
Properties\AssemblyInfo.cs (1)
93
[assembly: StyleProperty("border-radius", typeof(
ImageButton
), nameof(BorderElement.CornerRadiusProperty))]