# InputElement

Version: 0.5.0
Framework commit: d503df2befa756e681fcdc6250e9552dc7388bea
Canonical URL: /docs/0.5.0/api/ferroui-base/input/struct-inputelement/

**struct** · [`ferroui-base`](/docs/0.5.0/api/ferroui-base/) · v0.5.0

```rust
struct InputElement
```

Implements input-related functionality for a control.

The pseudoclasses `:disabled`, `:focus`, `:focus-visible`,
`:focus-within` and `:pointerover` reflect the input state of the
element.

[View source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/input/input_element.rs#L31)

## Members

- [`TYPE`](#assoc_const-type)
- [`to_ref`](#function-to_ref)
- [`is_enabled_core`](#function-is_enabled_core)
- [`is_focus_scope`](#function-is_focus_scope)
- [`on_getting_focus`](#function-on_getting_focus)
- [`on_losing_focus`](#function-on_losing_focus)
- [`on_got_focus`](#function-on_got_focus)
- [`on_lost_focus`](#function-on_lost_focus)
- [`on_key_down`](#function-on_key_down)
- [`on_key_up`](#function-on_key_up)
- [`on_text_input`](#function-on_text_input)
- [`on_pointer_entered`](#function-on_pointer_entered)
- [`on_pointer_exited`](#function-on_pointer_exited)
- [`on_pointer_moved`](#function-on_pointer_moved)
- [`on_pointer_pressed`](#function-on_pointer_pressed)
- [`on_pointer_released`](#function-on_pointer_released)
- [`on_pointer_capture_changing`](#function-on_pointer_capture_changing)
- [`on_pointer_capture_lost`](#function-on_pointer_capture_lost)
- [`on_pointer_wheel_changed`](#function-on_pointer_wheel_changed)
- [`on_tapped`](#function-on_tapped)
- [`on_right_tapped`](#function-on_right_tapped)
- [`on_double_tapped`](#function-on_double_tapped)
- [`on_holding`](#function-on_holding)
- [`on_access_key`](#function-on_access_key)
- [`get_next_tab_stop_override`](#function-get_next_tab_stop_override)
- [`get_previous_tab_stop_override`](#function-get_previous_tab_stop_override)
- [`get_first_focusable_element_override`](#function-get_first_focusable_element_override)
- [`get_last_focusable_element_override`](#function-get_last_focusable_element_override)
- [`process_tab_stop_override`](#function-process_tab_stop_override)
- [`process_candidate_tab_stop_override`](#function-process_candidate_tab_stop_override)
- [`children_in_tab_focus_order`](#function-children_in_tab_focus_order)
- [`as_custom_keyboard_navigation`](#function-as_custom_keyboard_navigation)
- [`as_scrollable`](#function-as_scrollable)
- [`as_hosted_visual_tree_root`](#function-as_hosted_visual_tree_root)
- [`focusable_property`](#function-focusable_property)
- [`allow_focus_on_interaction_property`](#function-allow_focus_on_interaction_property)
- [`is_enabled_property`](#function-is_enabled_property)
- [`is_effectively_enabled_property`](#function-is_effectively_enabled_property)
- [`cursor_property`](#function-cursor_property)
- [`is_keyboard_focus_within_property`](#function-is_keyboard_focus_within_property)
- [`is_focused_property`](#function-is_focused_property)
- [`is_hit_test_visible_property`](#function-is_hit_test_visible_property)
- [`is_pointer_over_property`](#function-is_pointer_over_property)
- [`is_tab_stop_property`](#function-is_tab_stop_property)
- [`tab_index_property`](#function-tab_index_property)
- [`got_focus_event`](#function-got_focus_event)
- [`getting_focus_event`](#function-getting_focus_event)
- [`lost_focus_event`](#function-lost_focus_event)
- [`losing_focus_event`](#function-losing_focus_event)
- [`key_down_event`](#function-key_down_event)
- [`key_up_event`](#function-key_up_event)
- [`text_input_event`](#function-text_input_event)
- [`text_input_method_client_requested_event`](#function-text_input_method_client_requested_event)
- [`pointer_entered_event`](#function-pointer_entered_event)
- [`pointer_exited_event`](#function-pointer_exited_event)
- [`pointer_moved_event`](#function-pointer_moved_event)
- [`pointer_pressed_event`](#function-pointer_pressed_event)
- [`pointer_released_event`](#function-pointer_released_event)
- [`pointer_capture_changing_event`](#function-pointer_capture_changing_event)
- [`pointer_capture_lost_event`](#function-pointer_capture_lost_event)
- [`pointer_wheel_changed_event`](#function-pointer_wheel_changed_event)
- [`context_requested_event`](#function-context_requested_event)
- [`context_canceled_event`](#function-context_canceled_event)
- [`construct`](#function-construct)
- [`new`](#function-new)
- [`got_focus`](#function-got_focus)
- [`getting_focus`](#function-getting_focus)
- [`lost_focus`](#function-lost_focus)
- [`losing_focus`](#function-losing_focus)
- [`key_down`](#function-key_down)
- [`key_up`](#function-key_up)
- [`text_input`](#function-text_input)
- [`text_input_method_client_requested`](#function-text_input_method_client_requested)
- [`pointer_entered`](#function-pointer_entered)
- [`pointer_exited`](#function-pointer_exited)
- [`pointer_moved`](#function-pointer_moved)
- [`pointer_pressed`](#function-pointer_pressed)
- [`pointer_released`](#function-pointer_released)
- [`pointer_capture_changing`](#function-pointer_capture_changing)
- [`pointer_capture_lost`](#function-pointer_capture_lost)
- [`pointer_wheel_changed`](#function-pointer_wheel_changed)
- [`context_requested`](#function-context_requested)
- [`context_canceled`](#function-context_canceled)
- [`focusable`](#function-focusable)
- [`set_focusable`](#function-set_focusable)
- [`allow_focus_on_interaction`](#function-allow_focus_on_interaction)
- [`set_allow_focus_on_interaction`](#function-set_allow_focus_on_interaction)
- [`is_enabled`](#function-is_enabled)
- [`set_is_enabled`](#function-set_is_enabled)
- [`cursor`](#function-cursor)
- [`set_cursor`](#function-set_cursor)
- [`is_keyboard_focus_within`](#function-is_keyboard_focus_within)
- [`is_focused`](#function-is_focused)
- [`is_hit_test_visible`](#function-is_hit_test_visible)
- [`set_is_hit_test_visible`](#function-set_is_hit_test_visible)
- [`is_pointer_over`](#function-is_pointer_over)
- [`is_tab_stop`](#function-is_tab_stop)
- [`set_is_tab_stop`](#function-set_is_tab_stop)
- [`is_effectively_enabled`](#function-is_effectively_enabled)
- [`tab_index`](#function-tab_index)
- [`set_tab_index`](#function-set_tab_index)
- [`key_bindings`](#function-key_bindings)
- [`gesture_recognizers`](#function-gesture_recognizers)
- [`focus`](#function-focus)
- [`focus_with`](#function-focus_with)
- [`update_is_effectively_enabled`](#function-update_is_effectively_enabled)
- [`interactive_effect`](#function-interactive_effect)
- [`is_holding_enabled_property`](#function-is_holding_enabled_property)
- [`is_hold_with_mouse_enabled_property`](#function-is_hold_with_mouse_enabled_property)
- [`pinch_event`](#function-pinch_event)
- [`pinch_ended_event`](#function-pinch_ended_event)
- [`pull_gesture_event`](#function-pull_gesture_event)
- [`pull_gesture_ended_event`](#function-pull_gesture_ended_event)
- [`swipe_gesture_event`](#function-swipe_gesture_event)
- [`swipe_gesture_ended_event`](#function-swipe_gesture_ended_event)
- [`scroll_gesture_event`](#function-scroll_gesture_event)
- [`scroll_gesture_inertia_starting_event`](#function-scroll_gesture_inertia_starting_event)
- [`scroll_gesture_ended_event`](#function-scroll_gesture_ended_event)
- [`pointer_touch_pad_gesture_magnify_event`](#function-pointer_touch_pad_gesture_magnify_event)
- [`pointer_touch_pad_gesture_rotate_event`](#function-pointer_touch_pad_gesture_rotate_event)
- [`pointer_touch_pad_gesture_swipe_event`](#function-pointer_touch_pad_gesture_swipe_event)
- [`tapped_event`](#function-tapped_event)
- [`right_tapped_event`](#function-right_tapped_event)
- [`holding_event`](#function-holding_event)
- [`double_tapped_event`](#function-double_tapped_event)
- [`get_is_holding_enabled`](#function-get_is_holding_enabled)
- [`set_is_holding_enabled`](#function-set_is_holding_enabled)
- [`get_is_hold_with_mouse_enabled`](#function-get_is_hold_with_mouse_enabled)
- [`set_is_hold_with_mouse_enabled`](#function-set_is_hold_with_mouse_enabled)
- [`pinch`](#function-pinch)
- [`pinch_ended`](#function-pinch_ended)
- [`pull_gesture`](#function-pull_gesture)
- [`pull_gesture_ended`](#function-pull_gesture_ended)
- [`scroll_gesture`](#function-scroll_gesture)
- [`scroll_gesture_inertia_starting`](#function-scroll_gesture_inertia_starting)
- [`scroll_gesture_ended`](#function-scroll_gesture_ended)
- [`pointer_touch_pad_gesture_magnify`](#function-pointer_touch_pad_gesture_magnify)
- [`pointer_touch_pad_gesture_rotate`](#function-pointer_touch_pad_gesture_rotate)
- [`swipe_gesture`](#function-swipe_gesture)
- [`swipe_gesture_ended`](#function-swipe_gesture_ended)
- [`pointer_touch_pad_gesture_swipe`](#function-pointer_touch_pad_gesture_swipe)
- [`tapped`](#function-tapped)
- [`right_tapped`](#function-right_tapped)
- [`holding`](#function-holding)
- [`double_tapped`](#function-double_tapped)
- [`get_input_elements_at`](#function-get_input_elements_at)
- [`get_input_elements_at_with`](#function-get_input_elements_at_with)
- [`get_input_elements_at_geometry`](#function-get_input_elements_at_geometry)
- [`input_hit_test`](#function-input_hit_test)
- [`input_hit_test_with`](#function-input_hit_test_with)
- [`input_hit_test_geometry`](#function-input_hit_test_geometry)
- [`input_hit_test_filtered`](#function-input_hit_test_filtered)
- [`input_hit_test_geometry_filtered`](#function-input_hit_test_geometry_filtered)

<a id="assoc_const-type"></a>

### TYPE

```rust
const TYPE: &'static $crate::TypeInfo
```

The runtime type of this class.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/input/input_element.rs#L46)

<a id="function-to_ref"></a>

### to_ref

```rust
fn to_ref(self: &Self) -> $crate::Ref<InputElement>
```

Returns a strong reference to this object.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/input/input_element.rs#L46)

<a id="function-is_enabled_core"></a>

### is_enabled_core

```rust
fn is_enabled_core(self: &Self) -> bool
```

Whether the control is enabled, as far as the control itself is
concerned. The default is the value of `is_enabled`; controls
with additional conditions (e.g. a command that cannot execute)
override this.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/input/input_element.rs#L46)

<a id="function-is_focus_scope"></a>

### is_focus_scope

```rust
fn is_focus_scope(self: &Self) -> bool
```

Whether the element is a focus scope: an element that remembers
which of its descendants was focused last.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/input/input_element.rs#L46)

<a id="function-on_getting_focus"></a>

### on_getting_focus

```rust
fn on_getting_focus(self: &Self, e: &FocusChangingEventArgs)
```

Called when the control or one of its child elements is about to
get focus.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/input/input_element.rs#L46)

<a id="function-on_losing_focus"></a>

### on_losing_focus

```rust
fn on_losing_focus(self: &Self, e: &FocusChangingEventArgs)
```

Called when the control or one of its child elements is about to
lose focus.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/input/input_element.rs#L46)

<a id="function-on_got_focus"></a>

### on_got_focus

```rust
fn on_got_focus(self: &Self, e: &FocusChangedEventArgs)
```

Called when the control or one of its child elements gets focus.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/input/input_element.rs#L46)

<a id="function-on_lost_focus"></a>

### on_lost_focus

```rust
fn on_lost_focus(self: &Self, e: &FocusChangedEventArgs)
```

Called when the control or one of its child elements loses
focus.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/input/input_element.rs#L46)

<a id="function-on_key_down"></a>

### on_key_down

```rust
fn on_key_down(self: &Self, e: &KeyEventArgs)
```

Called before the key down event occurs.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/input/input_element.rs#L46)

<a id="function-on_key_up"></a>

### on_key_up

```rust
fn on_key_up(self: &Self, e: &KeyEventArgs)
```

Called before the key up event occurs.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/input/input_element.rs#L46)

<a id="function-on_text_input"></a>

### on_text_input

```rust
fn on_text_input(self: &Self, e: &TextInputEventArgs)
```

Called before the text input event occurs.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/input/input_element.rs#L46)

<a id="function-on_pointer_entered"></a>

### on_pointer_entered

```rust
fn on_pointer_entered(self: &Self, e: &PointerEventArgs)
```

Called before the pointer entered event occurs.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/input/input_element.rs#L46)

<a id="function-on_pointer_exited"></a>

### on_pointer_exited

```rust
fn on_pointer_exited(self: &Self, e: &PointerEventArgs)
```

Called before the pointer exited event occurs.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/input/input_element.rs#L46)

<a id="function-on_pointer_moved"></a>

### on_pointer_moved

```rust
fn on_pointer_moved(self: &Self, e: &PointerEventArgs)
```

Called before the pointer moved event occurs.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/input/input_element.rs#L46)

<a id="function-on_pointer_pressed"></a>

### on_pointer_pressed

```rust
fn on_pointer_pressed(self: &Self, e: &PointerPressedEventArgs)
```

Called before the pointer pressed event occurs.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/input/input_element.rs#L46)

<a id="function-on_pointer_released"></a>

### on_pointer_released

```rust
fn on_pointer_released(self: &Self, e: &PointerReleasedEventArgs)
```

Called before the pointer released event occurs.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/input/input_element.rs#L46)

<a id="function-on_pointer_capture_changing"></a>

### on_pointer_capture_changing

```rust
fn on_pointer_capture_changing(self: &Self, e: &PointerCaptureChangingEventArgs)
```

Called when the capture of a pointer is about to change on the
control or one of its descendants.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/input/input_element.rs#L46)

<a id="function-on_pointer_capture_lost"></a>

### on_pointer_capture_lost

```rust
fn on_pointer_capture_lost(self: &Self, e: &PointerCaptureLostEventArgs)
```

Called before the pointer capture lost event occurs.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/input/input_element.rs#L46)

<a id="function-on_pointer_wheel_changed"></a>

### on_pointer_wheel_changed

```rust
fn on_pointer_wheel_changed(self: &Self, e: &PointerWheelEventArgs)
```

Called before the pointer wheel changed event occurs.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/input/input_element.rs#L46)

<a id="function-on_tapped"></a>

### on_tapped

```rust
fn on_tapped(self: &Self, e: &TappedEventArgs)
```

Called when a tap gesture occurs on the control.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/input/input_element.rs#L46)

<a id="function-on_right_tapped"></a>

### on_right_tapped

```rust
fn on_right_tapped(self: &Self, e: &TappedEventArgs)
```

Called when a right tap gesture occurs on the control.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/input/input_element.rs#L46)

<a id="function-on_double_tapped"></a>

### on_double_tapped

```rust
fn on_double_tapped(self: &Self, e: &TappedEventArgs)
```

Called when a double-tap gesture occurs on the control.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/input/input_element.rs#L46)

<a id="function-on_holding"></a>

### on_holding

```rust
fn on_holding(self: &Self, e: &HoldingRoutedEventArgs)
```

Called when a hold gesture occurs on the control.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/input/input_element.rs#L46)

<a id="function-on_access_key"></a>

### on_access_key

```rust
fn on_access_key(self: &Self, e: &dyn IRoutedEventArgs)
```

Called when the access key of the control is pressed. The
default focuses the control.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/input/input_element.rs#L46)

<a id="function-get_next_tab_stop_override"></a>

### get_next_tab_stop_override

```rust
fn get_next_tab_stop_override(self: &Self) -> Option<Ref<InputElement>>
```

Called when focus is moving forward out of this element: lets it
name the element that should receive focus next.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/input/input_element.rs#L46)

<a id="function-get_previous_tab_stop_override"></a>

### get_previous_tab_stop_override

```rust
fn get_previous_tab_stop_override(self: &Self) -> Option<Ref<InputElement>>
```

Called when focus is moving backward out of this element: lets
it name the element that should receive focus next.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/input/input_element.rs#L46)

<a id="function-get_first_focusable_element_override"></a>

### get_first_focusable_element_override

```rust
fn get_first_focusable_element_override(self: &Self) -> Option<Ref<InputElement>>
```

Lets the element name the first focusable element within it.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/input/input_element.rs#L46)

<a id="function-get_last_focusable_element_override"></a>

### get_last_focusable_element_override

```rust
fn get_last_focusable_element_override(self: &Self) -> Option<Ref<InputElement>>
```

Lets the element name the last focusable element within it.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/input/input_element.rs#L46)

<a id="function-process_tab_stop_override"></a>

### process_tab_stop_override

```rust
fn process_tab_stop_override(self: &Self, focused_element: Option<&Ref<InputElement>>, candidate_tab_stop_element: Option<&Ref<InputElement>>, is_reverse: bool, did_cycle_focus_at_root_visual: bool, new_tab_stop: &mut Option<Ref<InputElement>>) -> bool
```

Lets the element (an ancestor of the focused element) override
the tab stop chosen by tab navigation. Returns true when the tab
stop is overridden; the override is written to `new_tab_stop`.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/input/input_element.rs#L46)

<a id="function-process_candidate_tab_stop_override"></a>

### process_candidate_tab_stop_override

```rust
fn process_candidate_tab_stop_override(self: &Self, focused_element: Option<&Ref<InputElement>>, candidate_tab_stop_element: Option<&Ref<InputElement>>, overriden_candidate_tab_stop_element: Option<&Ref<InputElement>>, is_reverse: bool, new_tab_stop: &mut Option<Ref<InputElement>>) -> bool
```

Lets the element (an ancestor of the candidate tab stop)
override the tab stop chosen by tab navigation. Returns true
when the tab stop is overridden; the override is written to
`new_tab_stop`.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/input/input_element.rs#L46)

<a id="function-children_in_tab_focus_order"></a>

### children_in_tab_focus_order

```rust
fn children_in_tab_focus_order(self: &Self) -> Option<Vec<Ref<InputElement>>>
```

The children of the element that take part in tab navigation, in
their tab order (WinUI `UIElement.GetChildrenInTabFocusOrder`).
`None`, the default, takes the input elements among the visual
children, in their order. An element that keeps children it does
not show (the recycled elements of a virtualizing panel), or whose
visual order is not the order of its items, returns its children
in tab order here. Upstream has no such member (DEVIATIONS.md,
Input).

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/input/input_element.rs#L46)

<a id="function-as_custom_keyboard_navigation"></a>

### as_custom_keyboard_navigation

```rust
fn as_custom_keyboard_navigation(self: &Self) -> Option<&dyn ICustomKeyboardNavigation>
```

The element as a custom keyboard navigation handler, if it is
one.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/input/input_element.rs#L46)

<a id="function-as_scrollable"></a>

### as_scrollable

```rust
fn as_scrollable(self: &Self) -> Option<&dyn IScrollable>
```

The element as a scrollable, if it is one.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/input/input_element.rs#L46)

<a id="function-as_hosted_visual_tree_root"></a>

### as_hosted_visual_tree_root

```rust
fn as_hosted_visual_tree_root(self: &Self) -> Option<&dyn IHostedVisualTreeRoot>
```

The element as the root of a hosted visual tree (such as a
popup root), if it is one.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/input/input_element.rs#L46)

<a id="function-focusable_property"></a>

### focusable_property

```rust
fn focusable_property() -> &'static StyledProperty<bool>
```

Defines the `Focusable` property.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/input/input_element.rs#L337)

<a id="function-allow_focus_on_interaction_property"></a>

### allow_focus_on_interaction_property

```rust
fn allow_focus_on_interaction_property() -> &'static StyledProperty<bool>
```

Whether pointer-origin focus changes may focus this element. Inherited; programmatic,
tab and directional focus remain controlled by Focusable/IsTabStop as before.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/input/input_element.rs#L337)

<a id="function-is_enabled_property"></a>

### is_enabled_property

```rust
fn is_enabled_property() -> &'static StyledProperty<bool>
```

Defines the `IsEnabled` property.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/input/input_element.rs#L337)

<a id="function-is_effectively_enabled_property"></a>

### is_effectively_enabled_property

```rust
fn is_effectively_enabled_property() -> &'static DirectProperty<InputElement, bool>
```

Defines the `IsEffectivelyEnabled` property.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/input/input_element.rs#L337)

<a id="function-cursor_property"></a>

### cursor_property

```rust
fn cursor_property() -> &'static StyledProperty<Option<Rc<Cursor>>>
```

Gets or sets associated mouse cursor.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/input/input_element.rs#L337)

<a id="function-is_keyboard_focus_within_property"></a>

### is_keyboard_focus_within_property

```rust
fn is_keyboard_focus_within_property() -> &'static DirectProperty<InputElement, bool>
```

Defines the `IsKeyboardFocusWithin` property.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/input/input_element.rs#L337)

<a id="function-is_focused_property"></a>

### is_focused_property

```rust
fn is_focused_property() -> &'static DirectProperty<InputElement, bool>
```

Defines the `IsFocused` property.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/input/input_element.rs#L337)

<a id="function-is_hit_test_visible_property"></a>

### is_hit_test_visible_property

```rust
fn is_hit_test_visible_property() -> &'static StyledProperty<bool>
```

Defines the `IsHitTestVisible` property.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/input/input_element.rs#L337)

<a id="function-is_pointer_over_property"></a>

### is_pointer_over_property

```rust
fn is_pointer_over_property() -> &'static DirectProperty<InputElement, bool>
```

Defines the `IsPointerOver` property.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/input/input_element.rs#L337)

<a id="function-is_tab_stop_property"></a>

### is_tab_stop_property

```rust
fn is_tab_stop_property() -> &'static StyledProperty<bool>
```

Defines the `IsTabStop` property.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/input/input_element.rs#L337)

<a id="function-tab_index_property"></a>

### tab_index_property

```rust
fn tab_index_property() -> &'static StyledProperty<i32>
```

Defines the `TabIndex` property.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/input/input_element.rs#L337)

<a id="function-got_focus_event"></a>

### got_focus_event

```rust
fn got_focus_event() -> &'static RoutedEvent<FocusChangedEventArgs>
```

Defines the `GotFocus` event.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/input/input_element.rs#L432)

<a id="function-getting_focus_event"></a>

### getting_focus_event

```rust
fn getting_focus_event() -> &'static RoutedEvent<FocusChangingEventArgs>
```

Defines the `GettingFocus` event.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/input/input_element.rs#L439)

<a id="function-lost_focus_event"></a>

### lost_focus_event

```rust
fn lost_focus_event() -> &'static RoutedEvent<FocusChangedEventArgs>
```

Defines the `LostFocus` event.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/input/input_element.rs#L446)

<a id="function-losing_focus_event"></a>

### losing_focus_event

```rust
fn losing_focus_event() -> &'static RoutedEvent<FocusChangingEventArgs>
```

Defines the `LosingFocus` event.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/input/input_element.rs#L453)

<a id="function-key_down_event"></a>

### key_down_event

```rust
fn key_down_event() -> &'static RoutedEvent<KeyEventArgs>
```

Defines the `KeyDown` event.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/input/input_element.rs#L460)

<a id="function-key_up_event"></a>

### key_up_event

```rust
fn key_up_event() -> &'static RoutedEvent<KeyEventArgs>
```

Defines the `KeyUp` event.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/input/input_element.rs#L467)

<a id="function-text_input_event"></a>

### text_input_event

```rust
fn text_input_event() -> &'static RoutedEvent<TextInputEventArgs>
```

Defines the `TextInput` event.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/input/input_element.rs#L474)

<a id="function-text_input_method_client_requested_event"></a>

### text_input_method_client_requested_event

```rust
fn text_input_method_client_requested_event() -> &'static RoutedEvent<TextInputMethodClientRequestedEventArgs>
```

Defines the `TextInputMethodClientRequested` event.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/input/input_element.rs#L484)

<a id="function-pointer_entered_event"></a>

### pointer_entered_event

```rust
fn pointer_entered_event() -> &'static RoutedEvent<PointerEventArgs>
```

Defines the `PointerEntered` event.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/input/input_element.rs#L494)

<a id="function-pointer_exited_event"></a>

### pointer_exited_event

```rust
fn pointer_exited_event() -> &'static RoutedEvent<PointerEventArgs>
```

Defines the `PointerExited` event.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/input/input_element.rs#L501)

<a id="function-pointer_moved_event"></a>

### pointer_moved_event

```rust
fn pointer_moved_event() -> &'static RoutedEvent<PointerEventArgs>
```

Defines the `PointerMoved` event.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/input/input_element.rs#L508)

<a id="function-pointer_pressed_event"></a>

### pointer_pressed_event

```rust
fn pointer_pressed_event() -> &'static RoutedEvent<PointerPressedEventArgs>
```

Defines the `PointerPressed` event.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/input/input_element.rs#L518)

<a id="function-pointer_released_event"></a>

### pointer_released_event

```rust
fn pointer_released_event() -> &'static RoutedEvent<PointerReleasedEventArgs>
```

Defines the `PointerReleased` event.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/input/input_element.rs#L528)

<a id="function-pointer_capture_changing_event"></a>

### pointer_capture_changing_event

```rust
fn pointer_capture_changing_event() -> &'static RoutedEvent<PointerCaptureChangingEventArgs>
```

Defines the `PointerCaptureChanging` routed event.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/input/input_element.rs#L538)

<a id="function-pointer_capture_lost_event"></a>

### pointer_capture_lost_event

```rust
fn pointer_capture_lost_event() -> &'static RoutedEvent<PointerCaptureLostEventArgs>
```

Defines the `PointerCaptureLost` routed event.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/input/input_element.rs#L545)

<a id="function-pointer_wheel_changed_event"></a>

### pointer_wheel_changed_event

```rust
fn pointer_wheel_changed_event() -> &'static RoutedEvent<PointerWheelEventArgs>
```

Defines the `PointerWheelChanged` event.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/input/input_element.rs#L552)

<a id="function-context_requested_event"></a>

### context_requested_event

```rust
fn context_requested_event() -> &'static RoutedEvent<ContextRequestedEventArgs>
```

Provides event data for the `ContextRequested` event.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/input/input_element.rs#L562)

<a id="function-context_canceled_event"></a>

### context_canceled_event

```rust
fn context_canceled_event() -> &'static RoutedEvent<RoutedEventArgs>
```

Provides event data for the `ContextCanceled` event.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/input/input_element.rs#L572)

<a id="function-construct"></a>

### construct

```rust
fn construct() -> Self
```

Creates the class data; see `crate::FerroObject::construct`.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/input/input_element.rs#L667)

<a id="function-new"></a>

### new

```rust
fn new() -> Ref<Self>
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/input/input_element.rs#L682)

<a id="function-got_focus"></a>

### got_focus

```rust
fn got_focus(self: &Self, handler: impl Fn(&Interactive, &FocusChangedEventArgs) -> () + 'static) -> RoutedEventHandlerToken
```

Occurs when the control receives focus.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/input/input_element.rs#L688)

<a id="function-getting_focus"></a>

### getting_focus

```rust
fn getting_focus(self: &Self, handler: impl Fn(&Interactive, &FocusChangingEventArgs) -> () + 'static) -> RoutedEventHandlerToken
```

Occurs before the control receives focus.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/input/input_element.rs#L693)

<a id="function-lost_focus"></a>

### lost_focus

```rust
fn lost_focus(self: &Self, handler: impl Fn(&Interactive, &FocusChangedEventArgs) -> () + 'static) -> RoutedEventHandlerToken
```

Occurs when the control loses focus.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/input/input_element.rs#L698)

<a id="function-losing_focus"></a>

### losing_focus

```rust
fn losing_focus(self: &Self, handler: impl Fn(&Interactive, &FocusChangingEventArgs) -> () + 'static) -> RoutedEventHandlerToken
```

Occurs before the control loses focus.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/input/input_element.rs#L703)

<a id="function-key_down"></a>

### key_down

```rust
fn key_down(self: &Self, handler: impl Fn(&Interactive, &KeyEventArgs) -> () + 'static) -> RoutedEventHandlerToken
```

Occurs when a key is pressed while the control has focus.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/input/input_element.rs#L708)

<a id="function-key_up"></a>

### key_up

```rust
fn key_up(self: &Self, handler: impl Fn(&Interactive, &KeyEventArgs) -> () + 'static) -> RoutedEventHandlerToken
```

Occurs when a key is released while the control has focus.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/input/input_element.rs#L713)

<a id="function-text_input"></a>

### text_input

```rust
fn text_input(self: &Self, handler: impl Fn(&Interactive, &TextInputEventArgs) -> () + 'static) -> RoutedEventHandlerToken
```

Occurs when a user typed some text while the control has focus.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/input/input_element.rs#L718)

<a id="function-text_input_method_client_requested"></a>

### text_input_method_client_requested

```rust
fn text_input_method_client_requested(self: &Self, handler: impl Fn(&Interactive, &TextInputMethodClientRequestedEventArgs) -> () + 'static) -> RoutedEventHandlerToken
```

Occurs when an input element gains input focus and the input
method is looking for the corresponding client.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/input/input_element.rs#L723)

<a id="function-pointer_entered"></a>

### pointer_entered

```rust
fn pointer_entered(self: &Self, handler: impl Fn(&Interactive, &PointerEventArgs) -> () + 'static) -> RoutedEventHandlerToken
```

Occurs when the pointer enters the control.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/input/input_element.rs#L731)

<a id="function-pointer_exited"></a>

### pointer_exited

```rust
fn pointer_exited(self: &Self, handler: impl Fn(&Interactive, &PointerEventArgs) -> () + 'static) -> RoutedEventHandlerToken
```

Occurs when the pointer leaves the control.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/input/input_element.rs#L736)

<a id="function-pointer_moved"></a>

### pointer_moved

```rust
fn pointer_moved(self: &Self, handler: impl Fn(&Interactive, &PointerEventArgs) -> () + 'static) -> RoutedEventHandlerToken
```

Occurs when the pointer moves over the control.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/input/input_element.rs#L741)

<a id="function-pointer_pressed"></a>

### pointer_pressed

```rust
fn pointer_pressed(self: &Self, handler: impl Fn(&Interactive, &PointerPressedEventArgs) -> () + 'static) -> RoutedEventHandlerToken
```

Occurs when the pointer is pressed over the control.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/input/input_element.rs#L746)

<a id="function-pointer_released"></a>

### pointer_released

```rust
fn pointer_released(self: &Self, handler: impl Fn(&Interactive, &PointerReleasedEventArgs) -> () + 'static) -> RoutedEventHandlerToken
```

Occurs when the pointer is released over the control.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/input/input_element.rs#L751)

<a id="function-pointer_capture_changing"></a>

### pointer_capture_changing

```rust
fn pointer_capture_changing(self: &Self, handler: impl Fn(&Interactive, &PointerCaptureChangingEventArgs) -> () + 'static) -> RoutedEventHandlerToken
```

Occurs when the capture of a pointer is about to change on the
control.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/input/input_element.rs#L756)

<a id="function-pointer_capture_lost"></a>

### pointer_capture_lost

```rust
fn pointer_capture_lost(self: &Self, handler: impl Fn(&Interactive, &PointerCaptureLostEventArgs) -> () + 'static) -> RoutedEventHandlerToken
```

Occurs when the control or its child control loses the pointer
capture for any reason; the event will not be triggered for a
parent control if capture was transferred to another child of
that parent control.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/input/input_element.rs#L762)

<a id="function-pointer_wheel_changed"></a>

### pointer_wheel_changed

```rust
fn pointer_wheel_changed(self: &Self, handler: impl Fn(&Interactive, &PointerWheelEventArgs) -> () + 'static) -> RoutedEventHandlerToken
```

Occurs when the mouse is scrolled over the control.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/input/input_element.rs#L770)

<a id="function-context_requested"></a>

### context_requested

```rust
fn context_requested(self: &Self, handler: impl Fn(&Interactive, &ContextRequestedEventArgs) -> () + 'static) -> RoutedEventHandlerToken
```

Occurs when the user has completed a context input gesture, such
as a right-click.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/input/input_element.rs#L775)

<a id="function-context_canceled"></a>

### context_canceled

```rust
fn context_canceled(self: &Self, handler: impl Fn(&Interactive, &RoutedEventArgs) -> () + 'static) -> RoutedEventHandlerToken
```

Occurs when the context input gesture continues into another
gesture, to notify the element that the context flyout should
not be opened.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/input/input_element.rs#L781)

<a id="function-focusable"></a>

### focusable

```rust
fn focusable(self: &Self) -> bool
```

Whether the control can receive focus.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/input/input_element.rs#L791)

<a id="function-set_focusable"></a>

### set_focusable

```rust
fn set_focusable(self: &Self, value: bool)
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/input/input_element.rs#L795)

<a id="function-allow_focus_on_interaction"></a>

### allow_focus_on_interaction

```rust
fn allow_focus_on_interaction(self: &Self) -> bool
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/input/input_element.rs#L799)

<a id="function-set_allow_focus_on_interaction"></a>

### set_allow_focus_on_interaction

```rust
fn set_allow_focus_on_interaction(self: &Self, value: bool)
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/input/input_element.rs#L802)

<a id="function-is_enabled"></a>

### is_enabled

```rust
fn is_enabled(self: &Self) -> bool
```

Whether the control is enabled for user interaction.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/input/input_element.rs#L807)

<a id="function-set_is_enabled"></a>

### set_is_enabled

```rust
fn set_is_enabled(self: &Self, value: bool)
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/input/input_element.rs#L811)

<a id="function-cursor"></a>

### cursor

```rust
fn cursor(self: &Self) -> Option<Rc<Cursor>>
```

The associated mouse cursor.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/input/input_element.rs#L816)

<a id="function-set_cursor"></a>

### set_cursor

```rust
fn set_cursor(self: &Self, value: Option<Rc<Cursor>>)
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/input/input_element.rs#L820)

<a id="function-is_keyboard_focus_within"></a>

### is_keyboard_focus_within

```rust
fn is_keyboard_focus_within(self: &Self) -> bool
```

Whether keyboard focus is anywhere within the element or its visual
tree child elements.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/input/input_element.rs#L827)

<a id="function-is_focused"></a>

### is_focused

```rust
fn is_focused(self: &Self) -> bool
```

Whether the control is focused.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/input/input_element.rs#L837)

<a id="function-is_hit_test_visible"></a>

### is_hit_test_visible

```rust
fn is_hit_test_visible(self: &Self) -> bool
```

Whether the control is considered for hit testing.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/input/input_element.rs#L846)

<a id="function-set_is_hit_test_visible"></a>

### set_is_hit_test_visible

```rust
fn set_is_hit_test_visible(self: &Self, value: bool)
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/input/input_element.rs#L850)

<a id="function-is_pointer_over"></a>

### is_pointer_over

```rust
fn is_pointer_over(self: &Self) -> bool
```

Whether the pointer is currently over the control.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/input/input_element.rs#L856)

<a id="function-is_tab_stop"></a>

### is_tab_stop

```rust
fn is_tab_stop(self: &Self) -> bool
```

Whether the control is included in tab navigation.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/input/input_element.rs#L865)

<a id="function-set_is_tab_stop"></a>

### set_is_tab_stop

```rust
fn set_is_tab_stop(self: &Self, value: bool)
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/input/input_element.rs#L869)

<a id="function-is_effectively_enabled"></a>

### is_effectively_enabled

```rust
fn is_effectively_enabled(self: &Self) -> bool
```

Whether this control and all its parents are enabled.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/input/input_element.rs#L875)

<a id="function-tab_index"></a>

### tab_index

```rust
fn tab_index(self: &Self) -> i32
```

A value that determines the order in which elements receive focus
when the user navigates through controls by pressing the Tab key.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/input/input_element.rs#L898)

<a id="function-set_tab_index"></a>

### set_tab_index

```rust
fn set_tab_index(self: &Self, value: i32)
```



[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/input/input_element.rs#L902)

<a id="function-key_bindings"></a>

### key_bindings

```rust
fn key_bindings(self: &Self) -> FerroList<Ref<KeyBinding>>
```

The key bindings for this input element.

The list is returned by handle: clones refer to the same list.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/input/input_element.rs#L909)

<a id="function-gesture_recognizers"></a>

### gesture_recognizers

```rust
fn gesture_recognizers(self: &Self) -> GestureRecognizerCollection
```

The gesture recognizers attached to this input element.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/input/input_element.rs#L914)

<a id="function-focus"></a>

### focus

```rust
fn focus(self: &Self) -> bool
```

Focuses the control, with an unspecified navigation method and no
key modifiers. Returns whether the control was focused.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/input/input_element.rs#L958)

<a id="function-focus_with"></a>

### focus_with

```rust
fn focus_with(self: &Self, method: NavigationMethod, key_modifiers: KeyModifiers) -> bool
```

Focuses the control.

`method` is the method by which focus was changed and
`key_modifiers` any key modifiers active at the time of focus.
Returns whether the control was focused.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/input/input_element.rs#L967)

<a id="function-update_is_effectively_enabled"></a>

### update_is_effectively_enabled

```rust
fn update_is_effectively_enabled(self: &Self)
```

Updates the `is_effectively_enabled` property based on the parent's
`is_effectively_enabled`.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/input/input_element.rs#L1094)

<a id="function-interactive_effect"></a>

### interactive_effect

```rust
fn interactive_effect(self: &Self) -> Option<Ref<Effect>>
```

The interactive effect the element routes its pointer input to (#455, E7, not from
upstream): its `Effect` when that is an interactive custom effect class
(`Effect::construct_interactive`).

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/input/input_element_effects.rs#L89)

<a id="function-is_holding_enabled_property"></a>

### is_holding_enabled_property

```rust
fn is_holding_enabled_property() -> &'static AttachedProperty<bool>
```

Defines the `IsHoldingEnabled` attached property.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/input/input_element_gestures.rs#L16)

<a id="function-is_hold_with_mouse_enabled_property"></a>

### is_hold_with_mouse_enabled_property

```rust
fn is_hold_with_mouse_enabled_property() -> &'static AttachedProperty<bool>
```

Defines the `IsHoldWithMouseEnabled` attached property.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/input/input_element_gestures.rs#L16)

<a id="function-pinch_event"></a>

### pinch_event

```rust
fn pinch_event() -> &'static RoutedEvent<PinchEventArgs>
```

Defines the `Pinch` event.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/input/input_element_gestures.rs#L33)

<a id="function-pinch_ended_event"></a>

### pinch_ended_event

```rust
fn pinch_ended_event() -> &'static RoutedEvent<PinchEndedEventArgs>
```

Defines the `PinchEnded` event.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/input/input_element_gestures.rs#L40)

<a id="function-pull_gesture_event"></a>

### pull_gesture_event

```rust
fn pull_gesture_event() -> &'static RoutedEvent<PullGestureEventArgs>
```

Defines the `PullGesture` event.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/input/input_element_gestures.rs#L47)

<a id="function-pull_gesture_ended_event"></a>

### pull_gesture_ended_event

```rust
fn pull_gesture_ended_event() -> &'static RoutedEvent<PullGestureEndedEventArgs>
```

Defines the `PullGestureEnded` event.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/input/input_element_gestures.rs#L54)

<a id="function-swipe_gesture_event"></a>

### swipe_gesture_event

```rust
fn swipe_gesture_event() -> &'static RoutedEvent<SwipeGestureEventArgs>
```

Defines the `SwipeGesture` event.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/input/input_element_gestures.rs#L61)

<a id="function-swipe_gesture_ended_event"></a>

### swipe_gesture_ended_event

```rust
fn swipe_gesture_ended_event() -> &'static RoutedEvent<SwipeGestureEndedEventArgs>
```

Defines the `SwipeGestureEnded` event.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/input/input_element_gestures.rs#L68)

<a id="function-scroll_gesture_event"></a>

### scroll_gesture_event

```rust
fn scroll_gesture_event() -> &'static RoutedEvent<ScrollGestureEventArgs>
```

Defines the `ScrollGesture` event.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/input/input_element_gestures.rs#L75)

<a id="function-scroll_gesture_inertia_starting_event"></a>

### scroll_gesture_inertia_starting_event

```rust
fn scroll_gesture_inertia_starting_event() -> &'static RoutedEvent<ScrollGestureInertiaStartingEventArgs>
```

Defines the `ScrollGestureInertiaStarting` event.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/input/input_element_gestures.rs#L82)

<a id="function-scroll_gesture_ended_event"></a>

### scroll_gesture_ended_event

```rust
fn scroll_gesture_ended_event() -> &'static RoutedEvent<ScrollGestureEndedEventArgs>
```

Defines the `ScrollGestureEnded` event.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/input/input_element_gestures.rs#L89)

<a id="function-pointer_touch_pad_gesture_magnify_event"></a>

### pointer_touch_pad_gesture_magnify_event

```rust
fn pointer_touch_pad_gesture_magnify_event() -> &'static RoutedEvent<PointerDeltaEventArgs>
```

Defines the `PointerTouchPadGestureMagnify` event.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/input/input_element_gestures.rs#L96)

<a id="function-pointer_touch_pad_gesture_rotate_event"></a>

### pointer_touch_pad_gesture_rotate_event

```rust
fn pointer_touch_pad_gesture_rotate_event() -> &'static RoutedEvent<PointerDeltaEventArgs>
```

Defines the `PointerTouchPadGestureRotate` event.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/input/input_element_gestures.rs#L103)

<a id="function-pointer_touch_pad_gesture_swipe_event"></a>

### pointer_touch_pad_gesture_swipe_event

```rust
fn pointer_touch_pad_gesture_swipe_event() -> &'static RoutedEvent<PointerDeltaEventArgs>
```

Defines the `PointerTouchPadGestureSwipe` event.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/input/input_element_gestures.rs#L110)

<a id="function-tapped_event"></a>

### tapped_event

```rust
fn tapped_event() -> &'static RoutedEvent<TappedEventArgs>
```

Defines the `Tapped` event.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/input/input_element_gestures.rs#L117)

<a id="function-right_tapped_event"></a>

### right_tapped_event

```rust
fn right_tapped_event() -> &'static RoutedEvent<TappedEventArgs>
```

Defines the `RightTapped` event.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/input/input_element_gestures.rs#L124)

<a id="function-holding_event"></a>

### holding_event

```rust
fn holding_event() -> &'static RoutedEvent<HoldingRoutedEventArgs>
```

Defines the `Holding` event.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/input/input_element_gestures.rs#L131)

<a id="function-double_tapped_event"></a>

### double_tapped_event

```rust
fn double_tapped_event() -> &'static RoutedEvent<TappedEventArgs>
```

Defines the `DoubleTapped` event.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/input/input_element_gestures.rs#L138)

<a id="function-get_is_holding_enabled"></a>

### get_is_holding_enabled

```rust
fn get_is_holding_enabled(element: &StyledElement) -> bool
```

Gets whether the holding gesture is enabled on an element.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/input/input_element_gestures.rs#L162)

<a id="function-set_is_holding_enabled"></a>

### set_is_holding_enabled

```rust
fn set_is_holding_enabled(element: &StyledElement, value: bool)
```

Sets whether the holding gesture is enabled on an element.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/input/input_element_gestures.rs#L167)

<a id="function-get_is_hold_with_mouse_enabled"></a>

### get_is_hold_with_mouse_enabled

```rust
fn get_is_hold_with_mouse_enabled(element: &StyledElement) -> bool
```

Gets whether the holding gesture can be performed with the mouse on
an element.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/input/input_element_gestures.rs#L173)

<a id="function-set_is_hold_with_mouse_enabled"></a>

### set_is_hold_with_mouse_enabled

```rust
fn set_is_hold_with_mouse_enabled(element: &StyledElement, value: bool)
```

Sets whether the holding gesture can be performed with the mouse on
an element.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/input/input_element_gestures.rs#L179)

<a id="function-pinch"></a>

### pinch

```rust
fn pinch(self: &Self, handler: impl Fn(&Interactive, &PinchEventArgs) -> () + 'static) -> RoutedEventHandlerToken
```

Occurs when the user moves two contact points closer together.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/input/input_element_gestures.rs#L183)

<a id="function-pinch_ended"></a>

### pinch_ended

```rust
fn pinch_ended(self: &Self, handler: impl Fn(&Interactive, &PinchEndedEventArgs) -> () + 'static) -> RoutedEventHandlerToken
```

Occurs when the user releases both contact points used in a
pinch gesture.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/input/input_element_gestures.rs#L188)

<a id="function-pull_gesture"></a>

### pull_gesture

```rust
fn pull_gesture(self: &Self, handler: impl Fn(&Interactive, &PullGestureEventArgs) -> () + 'static) -> RoutedEventHandlerToken
```

Occurs when the user drags from the edge of a control.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/input/input_element_gestures.rs#L194)

<a id="function-pull_gesture_ended"></a>

### pull_gesture_ended

```rust
fn pull_gesture_ended(self: &Self, handler: impl Fn(&Interactive, &PullGestureEndedEventArgs) -> () + 'static) -> RoutedEventHandlerToken
```

Occurs when the user releases the pointer after a pull gesture.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/input/input_element_gestures.rs#L199)

<a id="function-scroll_gesture"></a>

### scroll_gesture

```rust
fn scroll_gesture(self: &Self, handler: impl Fn(&Interactive, &ScrollGestureEventArgs) -> () + 'static) -> RoutedEventHandlerToken
```

Occurs when the user continuously moves the pointer in the same
direction within the control's boundaries.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/input/input_element_gestures.rs#L204)

<a id="function-scroll_gesture_inertia_starting"></a>

### scroll_gesture_inertia_starting

```rust
fn scroll_gesture_inertia_starting(self: &Self, handler: impl Fn(&Interactive, &ScrollGestureInertiaStartingEventArgs) -> () + 'static) -> RoutedEventHandlerToken
```

Occurs within the control's boundaries when a scroll gesture's
inertia begins.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/input/input_element_gestures.rs#L210)

<a id="function-scroll_gesture_ended"></a>

### scroll_gesture_ended

```rust
fn scroll_gesture_ended(self: &Self, handler: impl Fn(&Interactive, &ScrollGestureEndedEventArgs) -> () + 'static) -> RoutedEventHandlerToken
```

Occurs when a scroll gesture ends.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/input/input_element_gestures.rs#L216)

<a id="function-pointer_touch_pad_gesture_magnify"></a>

### pointer_touch_pad_gesture_magnify

```rust
fn pointer_touch_pad_gesture_magnify(self: &Self, handler: impl Fn(&Interactive, &PointerDeltaEventArgs) -> () + 'static) -> RoutedEventHandlerToken
```

Occurs when the user moves two contact points away from each
other on a touchpad.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/input/input_element_gestures.rs#L221)

<a id="function-pointer_touch_pad_gesture_rotate"></a>

### pointer_touch_pad_gesture_rotate

```rust
fn pointer_touch_pad_gesture_rotate(self: &Self, handler: impl Fn(&Interactive, &PointerDeltaEventArgs) -> () + 'static) -> RoutedEventHandlerToken
```

Occurs when the user places two contact points and moves them in
a circular motion on a touchpad.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/input/input_element_gestures.rs#L227)

<a id="function-swipe_gesture"></a>

### swipe_gesture

```rust
fn swipe_gesture(self: &Self, handler: impl Fn(&Interactive, &SwipeGestureEventArgs) -> () + 'static) -> RoutedEventHandlerToken
```

Occurs when the user rapidly drags the pointer in a single
direction across the control.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/input/input_element_gestures.rs#L233)

<a id="function-swipe_gesture_ended"></a>

### swipe_gesture_ended

```rust
fn swipe_gesture_ended(self: &Self, handler: impl Fn(&Interactive, &SwipeGestureEndedEventArgs) -> () + 'static) -> RoutedEventHandlerToken
```

Occurs when a swipe gesture ends on the control.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/input/input_element_gestures.rs#L239)

<a id="function-pointer_touch_pad_gesture_swipe"></a>

### pointer_touch_pad_gesture_swipe

```rust
fn pointer_touch_pad_gesture_swipe(self: &Self, handler: impl Fn(&Interactive, &PointerDeltaEventArgs) -> () + 'static) -> RoutedEventHandlerToken
```

Occurs when the user rapidly drags the pointer in a single
direction on a touchpad.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/input/input_element_gestures.rs#L244)

<a id="function-tapped"></a>

### tapped

```rust
fn tapped(self: &Self, handler: impl Fn(&Interactive, &TappedEventArgs) -> () + 'static) -> RoutedEventHandlerToken
```

Occurs when the user briefly contacts and releases a single
point on the control.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/input/input_element_gestures.rs#L250)

<a id="function-right_tapped"></a>

### right_tapped

```rust
fn right_tapped(self: &Self, handler: impl Fn(&Interactive, &TappedEventArgs) -> () + 'static) -> RoutedEventHandlerToken
```

Occurs when the user briefly contacts and releases a single
point on the control using the secondary action.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/input/input_element_gestures.rs#L256)

<a id="function-holding"></a>

### holding

```rust
fn holding(self: &Self, handler: impl Fn(&Interactive, &HoldingRoutedEventArgs) -> () + 'static) -> RoutedEventHandlerToken
```

Occurs when the user makes a single contact, then maintains
contact beyond a given time threshold without releasing or
making another contact.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/input/input_element_gestures.rs#L262)

<a id="function-double_tapped"></a>

### double_tapped

```rust
fn double_tapped(self: &Self, handler: impl Fn(&Interactive, &TappedEventArgs) -> () + 'static) -> RoutedEventHandlerToken
```

Occurs when the user briefly contacts and releases twice on a
single point, without significant movement between contacts.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/input/input_element_gestures.rs#L269)

<a id="function-get_input_elements_at"></a>

### get_input_elements_at

```rust
fn get_input_elements_at(self: &Self, p: Point) -> Vec<Ref<InputElement>>
```

Returns the active input elements at a point on the element, in the
element's coordinates, topmost first. Only enabled elements are
considered.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/input/input_extensions.rs#L30)

<a id="function-get_input_elements_at_with"></a>

### get_input_elements_at_with

```rust
fn get_input_elements_at_with(self: &Self, p: Point, enabled_elements_only: bool) -> Vec<Ref<InputElement>>
```

Returns the active input elements at a point on the element, in the
element's coordinates, topmost first.

`enabled_elements_only` tells whether only enabled elements should
be considered.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/input/input_extensions.rs#L39)

<a id="function-get_input_elements_at_geometry"></a>

### get_input_elements_at_geometry

```rust
fn get_input_elements_at_geometry(self: &Self, geometry: &Geometry, enabled_elements_only: bool) -> Vec<GeometryHitTestResult>
```

Returns the active input elements intersecting a geometry on the
element, in the element's coordinates, topmost first, with the
details of the intersections.

`enabled_elements_only` tells whether only enabled elements should
be considered.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/input/input_extensions.rs#L52)

<a id="function-input_hit_test"></a>

### input_hit_test

```rust
fn input_hit_test(self: &Self, p: Point) -> Option<Ref<InputElement>>
```

Returns the topmost active input element at a point on the element,
in the element's coordinates. Only enabled elements are considered.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/input/input_extensions.rs#L65)

<a id="function-input_hit_test_with"></a>

### input_hit_test_with

```rust
fn input_hit_test_with(self: &Self, p: Point, enabled_elements_only: bool) -> Option<Ref<InputElement>>
```

Returns the topmost active input element at a point on the element,
in the element's coordinates.

`enabled_elements_only` tells whether only enabled elements should
be considered.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/input/input_extensions.rs#L74)

<a id="function-input_hit_test_geometry"></a>

### input_hit_test_geometry

```rust
fn input_hit_test_geometry(self: &Self, geometry: &Geometry, enabled_elements_only: bool) -> Option<GeometryHitTestResult>
```

Returns the topmost active input element intersecting a geometry on
the element, in the element's coordinates, with the details of the
intersection.

`enabled_elements_only` tells whether only enabled elements should
be considered.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/input/input_extensions.rs#L85)

<a id="function-input_hit_test_filtered"></a>

### input_hit_test_filtered

```rust
fn input_hit_test_filtered(self: &Self, p: Point, filter: &dyn Fn(&Visual) -> bool, enabled_elements_only: bool) -> Option<Ref<InputElement>>
```

Returns the topmost active input element at a point on the element
that also passes a filter, in the element's coordinates.

If `filter` returns false for a visual then the visual and all its
descendants are excluded from the results. `enabled_elements_only`
tells whether only enabled elements should be considered.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/input/input_extensions.rs#L100)

<a id="function-input_hit_test_geometry_filtered"></a>

### input_hit_test_geometry_filtered

```rust
fn input_hit_test_geometry_filtered(self: &Self, geometry: &Geometry, filter: &dyn Fn(&Visual) -> bool, enabled_elements_only: bool) -> Option<Ref<InputElement>>
```

Returns the topmost active input element intersecting a geometry on
the element that also passes a filter, in the element's coordinates.

If `filter` returns false for a visual then the visual and all its
descendants are excluded from the results. `enabled_elements_only`
tells whether only enabled elements should be considered.

[Source](https://github.com/wieslawsoltes/FerroUI/blob/d503df2befa756e681fcdc6250e9552dc7388bea/src/FerroUI.Base/input/input_extensions.rs#L118)

## Trait implementations

- `Send`
- `Sync`
- `Freeze`
- `UnsafeUnpin`
- `Unpin`
- `UnwindSafe`
- `RefUnwindSafe`
- [`InputElementImplExt`](/docs/0.5.0/api/ferroui-base/input/trait-inputelementimplext/)
- [`InteractiveImplExt`](/docs/0.5.0/api/ferroui-base/interactivity/trait-interactiveimplext/)
- [`LayoutableImplExt`](/docs/0.5.0/api/ferroui-base/layout/trait-layoutableimplext/)
- [`FerroObjectImplExt`](/docs/0.5.0/api/ferroui-base/trait-ferroobjectimplext/)
- [`StyledElementImplExt`](/docs/0.5.0/api/ferroui-base/trait-styledelementimplext/)
- [`ClassDefaults`](/docs/0.5.0/api/ferroui-base/trait-classdefaults/)
- [`VisualImplExt`](/docs/0.5.0/api/ferroui-base/trait-visualimplext/)
- `Borrow<T>`
- `BorrowMut<T>`
- `Into<U>`
- `From<T>`
- `TryInto<U>`
- `TryFrom<U>`
- [`Receiver`](/docs/0.5.0/api/ferroui-system/task/oneshot/struct-receiver/)
- `Any`
- `ErasedDestructor`
- `IntoEither`
- `Deref`
- [`Upcast<T>`](/docs/0.5.0/api/ferroui-base/trait-upcast/)
- [`Upcast<InputElement>`](/docs/0.5.0/api/ferroui-base/trait-upcast/)
- [`StaticType`](/docs/0.5.0/api/ferroui-base/trait-statictype/)
- [`ObjectType`](/docs/0.5.0/api/ferroui-base/trait-objecttype/)
- [`Subclassable<T>`](/docs/0.5.0/api/ferroui-base/trait-subclassable/)
- [`DefaultConstructible`](/docs/0.5.0/api/ferroui-base/trait-defaultconstructible/)
- [`StyledElementImpl`](/docs/0.5.0/api/ferroui-base/trait-styledelementimpl/)
- [`LayoutableImpl`](/docs/0.5.0/api/ferroui-base/layout/trait-layoutableimpl/)
- [`InteractiveImpl`](/docs/0.5.0/api/ferroui-base/interactivity/trait-interactiveimpl/)
- [`FerroObjectImpl`](/docs/0.5.0/api/ferroui-base/trait-ferroobjectimpl/)
- [`VisualImpl`](/docs/0.5.0/api/ferroui-base/trait-visualimpl/)
- [`InputElementImpl`](/docs/0.5.0/api/ferroui-base/input/trait-inputelementimpl/)
- [`IInputElement`](/docs/0.5.0/api/ferroui-base/input/trait-iinputelement/)

## Availability

Extracted for `aarch64-apple-darwin`. Cargo features are listed in the [crate index](/docs/0.5.0/api/).
