Skip to content

DecimalField.Factory method

Static factory for field, for backward compatibility, avoid using.

public static DecimalField Factory(ICollection<Field> collection, string name, LocalText? caption, 
    int size, FieldFlags flags, Func<IRow, decimal?> getValue, Action<IRow, decimal?> setValue)
parameter description
collection The collection.
name The name.
caption The caption.
size The size.
flags The flags.
getValue The get value.
setValue The set value.

Return Value

A new DecimalField instance.

See Also