IWindowOverlay Interface
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.
public interface class IWindowOverlay : Microsoft::Maui::Graphics::IDrawable
public interface IWindowOverlay : Microsoft.Maui.Graphics.IDrawable
type IWindowOverlay = interface
interface IDrawable
Public Interface IWindowOverlay
Implements IDrawable
- Derived
- Implements
Density |
Gets the Density for the layer. Can be used to pass through Density settings to underlying drawables. |
Disable |
Gets or sets a value indicating whether to disable UI Touch Event Passthrough. Enable this when you want to enable hit testing the current overlay without interfacing with the underlaying UI. |
Enable |
Gets or sets a value indicating whether to enable handling touch events when selecting any drawable element on the overlay. This setting is overridden by DisableUITouchEventPassthrough. |
Is |
Gets a value indicating whether the platform touch and drawing layer has been initialized. If it has not, you will be unable to draw or use hit testing on the Overlay. |
Is |
Gets or sets a value indicating whether to draw the window overlay. |
Window |
Gets the containing IWindow. |
Window |
Gets the current collection of drawable elements on the overlay. |
Add |
Adds a new drawable element to the overlay. |
Deinitialize() |
Deinitialize the overlay. |
Draw(ICanvas, RectF) | (Inherited from IDrawable) |
Handle |
Handles updating the drawing layer when a UI layout change happens. |
Initialize() |
Initialize the overlay. |
Invalidate() |
Invalidates the layer. Call to force the layer to redraw. |
Remove |
Removes a drawable element from the overlay. |
Remove |
Removes all drawable elements from the overlay. |
Tapped |
Event Handler for touch events on the Overlay. Called when a user touched the Overlay. |
Feedback zu .NET MAUI
.NET MAUI ist ein Open Source-Projekt. Wählen Sie einen Link aus, um Feedback zu geben: