PlatformFeedbackExtensions Class
Definition
public class PlatformFeedbackExtensions
Methods
| Name | Description |
|---|---|
| PerformFeedback | Performs the specified Avalonia.Controls.FeedbackAction on this Avalonia.Input.InputElement. The type of feedback to perform is defined in the Avalonia.Controls.PlatformFeedback.FeedbackTypeProperty |
PerformFeedback Method
Performs the specified Avalonia.Controls.FeedbackAction on this Avalonia.Input.InputElement. The type of feedback to perform is defined in the Avalonia.Controls.PlatformFeedback.FeedbackTypeProperty
public bool PerformFeedback(Avalonia.Input.InputElement inputElement, Avalonia.Controls.FeedbackAction feedbackAction)
Parameters
inputElement Avalonia.Input.InputElement
The element to trigger the feedback effect on
feedbackAction Avalonia.Controls.FeedbackAction
The feedback action relating to the action that triggered it
Returns
bool
true if the platform performed the requested feedback; false otherwise.