NumericControlProperty¶
Numeric editor binding arguments use this enum to specify which Infragistics numeric control property should act as the synchronization surface, so the framework can preserve the caller's intended numeric precision and CLR type when moving data between editors and bound objects. The selection is especially important for editors that expose multiple typed value accessors in addition to formatted text.
Purpose¶
- Chooses the typed numeric accessor that a numeric binder reads from and writes to.
- Preserves caller-selected precision and numeric width instead of forcing every binding through string conversion.
Context¶
- Namespace:
SAIF.Presentation.Web.Binding - Assembly/package:
SAIF.Presentation.Web.Binding.Infragistics103(embedded/bundled as source, not independently packaged)
Public members¶
| Member | Signature | Purpose |
|---|---|---|
| Text | NumericControlProperty.Text |
Uses the editor's formatted text so binding follows the displayed numeric string. |
| Value | NumericControlProperty.Value |
Uses the editor's default general value surface for standard numeric synchronization. |
| ValueByte | NumericControlProperty.ValueByte |
Uses the byte-typed accessor for small unsigned numeric values. |
| ValueDecimal | NumericControlProperty.ValueDecimal |
Uses the decimal-typed accessor when exact decimal precision must be preserved. |
| ValueDouble | NumericControlProperty.ValueDouble |
Uses the double-precision floating-point accessor for approximate numeric values. |
| ValueFloat | NumericControlProperty.ValueFloat |
Uses the single-precision floating-point accessor for narrower approximate numeric values. |
| ValueInt | NumericControlProperty.ValueInt |
Uses the integer accessor for standard 32-bit whole-number properties. |
| ValueLong | NumericControlProperty.ValueLong |
Uses the long-integer accessor for 64-bit whole-number properties. |
| ValueShort | NumericControlProperty.ValueShort |
Uses the short-integer accessor for 16-bit whole-number properties. |
Behavioral notes¶
clsWebNumericEditBinderswitches on this enum in both directions so the same selected accessor drives object-to-control display and control-to-object assignment.- The binder includes special handling when
ObjectDataType.NullableDecimalis paired with numeric-editor text/value flows to preserve blank entries asNothing.
Constraints and usage notes¶
- Match the chosen control property to the real target property type to avoid truncation or conversion failures.
- Use
Textonly when formatted display content is the intended source of truth; typed numeric accessors usually give stronger round-trip fidelity.
Sources¶
SAIF.Presentation.Web.Binding.Infragistics103\Enums.vb