kana250688 says:
public KtToast.SnackbarResult Show(Form owner, string message, KtToast.MessageTypes type = 0, int duration = 3000, string action = "", KtToast.Positions position = 1, KtToast.Hosts host = 2)
{
}
You can not use int as enum without casting for Hosts and Positions.
public KtToast.SnackbarResult Show(Form owner, string message, KtToast.MessageTypes type = 0,
int duration = 3000, string action = "", KtToast.Positions position = (KtToast.Positions)1, KtToast.Hosts host = (KtToast.Hosts)2)
{
}
public enum Hosts
{
Screen = 1,
Control = 2,
FormOwner = 3
}
public enum Positions
{
TopLeft = 1,
TopCenter = 2,
TopRight = 3,
MiddleLeft = 4,
MiddleCenter = 5,
MiddleRight = 6,
BottomLeft = 7,
BottomCenter = 8,
BottomRight = 9,
Custom = 10
}