2 implementations of IButtonElement
Microsoft.Maui.Controls (2)
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
ImageButton\ImageButton.cs (1)
14 public partial class ImageButton : View, IImageController, IElementConfiguration<ImageButton>, IBorderElement, IButtonController, IViewController, IPaddingElement, IButtonElement, ICommandElement, IImageElement, IImageButton
13 references to IButtonElement
Microsoft.Maui.Controls (13)
Button\Button.cs (4)
258 void IButtonElement.SetIsPressed(bool isPressed) => SetValue(IsPressedPropertyKey, isPressed); 275 void IButtonElement.PropagateUpClicked() => Clicked?.Invoke(this, EventArgs.Empty); 278 void IButtonElement.PropagateUpPressed() => Pressed?.Invoke(this, EventArgs.Empty); 281 void IButtonElement.PropagateUpReleased() => Released?.Invoke(this, EventArgs.Empty);
Button\ButtonElement.cs (9)
14 nameof(IButtonElement.Command), typeof(ICommand), typeof(IButtonElement), null, 21 nameof(IButtonElement.CommandParameter), typeof(object), typeof(IButtonElement), null, 35 public static void ElementClicked(VisualElement visualElement, IButtonElement ButtonElementManager) 46 /// By calling this, <see cref="IButtonElement.IsPressed"/> is set to <see langword="true"/>, the visual state is changed and events are triggered. 50 public static void ElementPressed(VisualElement visualElement, IButtonElement ButtonElementManager) 62 /// By calling this, <see cref="IButtonElement.IsPressed"/> is set to <see langword="false"/>, the visual state is changed and events are triggered. 66 public static void ElementReleased(VisualElement visualElement, IButtonElement ButtonElementManager)