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
graphicsViewGraphicsViewThe GraphicsView to focus.
focusStateFocusStateThe desired focus state.
Returns
- bool
trueif focus was successfully set; otherwise,false.