IElementHandler Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Defines the core behavior necessary to create a custom element handler. Conceptual documentation on handlers
public interface class IElementHandler
public interface IElementHandler
type IElementHandler = interface
Public Interface IElementHandler
- Derived
Properties
MauiContext |
Gets the .NET MAUI context associated with the element. |
PlatformView |
Gets the platform-specific view object associated with the handler. |
VirtualView |
Gets the cross-platform virtual view associated with the handler. |
Methods
DisconnectHandler() |
Disconnects the element handler from the element for clean up. |
Invoke(String, Object) |
Invokes the specified command on the element with the given arguments. |
SetMauiContext(IMauiContext) |
Sets the .NET MAUI context for the element handler. |
SetVirtualView(IElement) |
Sets the cross-platform virtual view associated with the handler. |
UpdateValue(String) |
Updates the value of the specified property on the handler. |
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for