Skip to content

Inkwell

The Inkewll is a nifty control that simulates the spreading of ink as the user pressed down on it.

Properties

InkColor - Color

Gets or sets the ink color. Default is Color.Gray.

RippleAnimationInDuration - uint

Gets or sets the ripple in animation duration. Default is 1600u.

RippleAnimationInEasing - Easing

Gets or sets the ripple in animation easing. Default is SinIn.

RippleAnimationOutDuration - uint

Gets or sets the ripple out animation duration. Default is 100u.

RippleAnimationOutEasing - Easing

Gets or sets the ripple in animation easing. Default is SinOut.

Command - ICommand

Gets or sets the command.

CommandParameter - object

Gets or sets the command parameter.

Example Usage

Xaml

<aurora:InkWell InkColor="Teal" HeightRequest="66" />

C#

var ink = new InkWell
    {
        InkColor = Color.Orange,
    };