Table of Contents

Method Focus

Namespace
Alternet.Maui.Extensions
Assembly
Alternet.UI.Maui.dll

Focus(GraphicsView, FocusState)

Attempts to set focus on the specified GraphicsView.

public static bool Focus(this GraphicsView graphicsView, FocusState focusState)

Parameters

graphicsView GraphicsView

The GraphicsView to focus.

focusState FocusState

The desired focus state.

Returns

bool

true if focus was successfully set; otherwise, false.