Skip to main content

FeedbackType Enum

Definition​

Assembly:Avalonia.Controls
Package:Avalonia

The feedback type to be triggered for the attached control.

public enum FeedbackType

Inheritance: Enum -> FeedbackType

Fields​

NameDescription
AutoTriggers the most suitable feedback type based on the feedback effect on the current platform.
HapticIf available, triggers only haptic feedback for the attached control
NoneDisables feedback for the attached control
SoundIf available, triggers only sound feedback for the attached control

Auto Field​

Triggers the most suitable feedback type based on the feedback effect on the current platform.

public Avalonia.Controls.FeedbackType Auto

Haptic Field​

If available, triggers only haptic feedback for the attached control

public Avalonia.Controls.FeedbackType Haptic

None Field​

Disables feedback for the attached control

public Avalonia.Controls.FeedbackType None

Sound Field​

If available, triggers only sound feedback for the attached control

public Avalonia.Controls.FeedbackType Sound