public static bool CanEditText(PrefillType type) { switch (type) { case PrefillType.Literal: case PrefillType.DateTime: return(true); default: return(false); } }
public Prefill(PrefillType type, string text = null) { this.type = type; this.text = text; }