Back to API Reference
Class

DecimalFilter

sealed

Filters decimal input: digits [0-9], at most one decimal separator (.,,, or the current culture's), plus a single leading minus sign when AllowNegative. The separator is kept as typed — normalization is a commit concern, not the filter's. The negative option also switches the mobile keyboard to a layout that has a minus key — the iOS decimal pad does not.

public KeyboardType PreferredKeyboardType{ get }
public override bool Allows()