Fabulous API
Documentation
2.0
2.0
  • Welcome
  • Xamarin.Forms
    • AnyView
    • Application
    • Element
    • NavigableElement
    • VisualElement
    • View
    • Controls
      • ActivityIndicator
      • BoxView
      • Button
      • CheckBox
      • DatePicker
      • Editor
      • Entry
      • FormattedLabel
      • ImageButton
      • Image
      • IndicatorView
      • InputView
      • Label
      • Picker
      • ProgressBar
      • RadioButton
      • SearchBar
      • Slider
      • Span
      • Stepper
      • Switch
      • TimePicker
      • WebView
    • Collections
      • CarouselView
      • CollectionView
      • ItemsView
      • ListView
    • Layouts
      • Layout
      • TemplatedView
  • .NET MAUI
    • AnyView
    • Application
    • Element
    • NavigableElement
    • VisualElement
    • View
    • Controls
      • ActivityIndicator
      • BoxView
      • Button
      • CheckBox
      • DatePicker
      • Editor
      • Entry
      • FormattedLabel
      • ImageButton
      • Image
      • IndicatorView
      • InputView
      • Label
      • Picker
      • ProgressBar
      • RadioButton
      • SearchBar
      • Slider
      • Span
      • Stepper
      • Switch
      • TimePicker
      • WebView
    • Collections
      • CarouselView
      • CollectionView
      • ItemsView
      • ListView
    • Layouts
      • Layout
      • TemplatedView
  • Avalonia
    • AnyView
    • Application
    • RenderOptions
    • Animatable
    • StyledElement
    • Transform
    • Visual
    • Layoutable
    • InputElement
    • DragDrop
    • FlyoutBase
    • PopupFlyoutBase
    • Control
    • Decorator
    • TemplatedControl
    • ContentControl
    • Spinner
    • TopLevel
    • TextElement
    • ItemsControl
    • SelectingItemsControl
    • MenuBase
    • WindowBase
    • Styling
      • KeyFrame
      • Animation
      • Transition
      • Style
    • Media
      • Transforms
        • Transform
        • MatrixTransform
        • SkewTransform
        • RotateTransform
        • TranslateTransform
        • ScaleTransform
        • Rotate3DTransform
        • TransformGroup
      • Brushes
        • Brush
        • TileBrush
        • SolidColorBrush
        • VisualBrush
        • ImageBrush
        • DrawingBrush
        • GradientStop
        • GradientBrush
        • ConicGradientBrush
        • LinearGradientBrush
        • RadialGradientBrush
      • PathSegments
        • PathSegment
        • ArcSegment
        • BezierSegment
        • PolyLineSegment
        • QuadraticBezierSegment
        • PathFigure
      • Geometries
        • Geometry
        • LineGeometry
        • EllipseGeometry
        • RectangleGeometry
        • PolylineGeometry
        • PathGeometry
        • CombinedGeometry
        • GeometryGroup
      • DashStyle
      • Pen
      • Drawing
      • Effects
Powered by GitBook
On this page
  • Properties
  • Events
Edit on GitHub
  1. Avalonia

InputElement

PreviousLayoutableNextDragDrop

Last updated 1 year ago

Inheritance: AvaloniaUI documentation: InputElement

Properties

Properties
Description

focusable(value: bool)

Sets the Focusable property.

isEnabled(value: bool)

Sets the IsEnabled property.

cursor(value: Cursor)

Sets the Cursor property.

isHitTestVisible(value: bool)

Sets the IsHitTestVisible property.

isTabStop(value: bool)

Sets the IsTabStop property.

tabIndex(value: int)

Sets the TabIndex property.

Events

Properties
Description

onGotFocus(fn: GotFocusEventArgs -> 'msg)

Raised when control receives focus.

onLostFocus(fn: RoutedEventArgs -> 'msg)

Raised when control loses focus.

onKeyDown(fn: KeyEventArgs -> 'msg)

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

onKeyUp(fn: KeyEventArgs -> 'msg)

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

onTextInput(fn: TextInputEventArgs -> 'msg)

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

onTextInputMethodClientRequested(fn: TextInputMethodClientRequestedEventArgs -> 'msg)

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

onPointerEntered(fn: PointerEventArgs -> 'msg)

Raised when pointer enters the control.

onPointerExited(fn: PointerEventArgs -> 'msg)

Raised when pointer leaves the control.

onPointerMoved(fn: PointerEventArgs -> 'msg)

Raised when pointer moves over the control.

onPointerPressed(fn: PointerPressedEventArgs -> 'msg)

Raised when the pointer is pressed over the control.

onPointerReleased(fn: PointerReleasedEventArgs -> 'msg)

Raised when the pointer is released over the control.

onPointerCaptureLost(fn: PointerCaptureLostEventArgs -> 'msg)

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

onPointerWheelChanged(fn: PointerWheelEventArgs -> 'msg)

Raised when the pointer wheel changes.

onTapped(fn: RoutedEventArgs -> 'msg)

Raised when a tap gesture occurs on the control.

onHolding(fn: HoldingRoutedEventArgs -> 'msg)

Raised when a holding gesture occurs on the control.

onDoubleTapped(fn: RoutedEventArgs -> 'msg)

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

Interactive
API