FocusEventArgs(VisualElement, Boolean) Constructor
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.
Constructs and initializes a new instance of the FocusEventArgs class.
public:
FocusEventArgs(Microsoft::Maui::Controls::VisualElement ^ visualElement, bool isFocused);
public FocusEventArgs (Microsoft.Maui.Controls.VisualElement visualElement, bool isFocused);
new Microsoft.Maui.Controls.FocusEventArgs : Microsoft.Maui.Controls.VisualElement * bool -> Microsoft.Maui.Controls.FocusEventArgs
Public Sub New (visualElement As VisualElement, isFocused As Boolean)
Parameters
- visualElement
- VisualElement
The VisualElement whose focused was changed.
- isFocused
- Boolean
Whether or not the visualElement
was focused.