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. |
Extension Methods
Applies to
Geri Bildirim
https://aka.ms/ContentUserFeedback.
Çok yakında: 2024 boyunca, içerik için geri bildirim mekanizması olarak GitHub Sorunları’nı kullanımdan kaldıracak ve yeni bir geri bildirim sistemiyle değiştireceğiz. Daha fazla bilgi için bkz.Gönderin ve geri bildirimi görüntüleyin