InputPanel for WinForms | ComponentOne
C1.Win.C1InputPanel.4.5.2 Assembly / C1.Win.C1InputPanel Namespace / InputComponent Class / BoundValue Property

In This Topic
    BoundValue Property (InputComponent)
    In This Topic
    Gets or sets the bound data value associated with this component.
    Syntax
    'Declaration
     
    Public Overridable Property BoundValue As Object
    public virtual object BoundValue {get; set;}
    Remarks

    Use this property to bind the component to values that can be null.

    For example, the InputCheckBox component has a boolean InputCheckBox.Checked property of type boolean that can be bound to boolean fields, the InputNumericBox component has a Value property of type decimal that can be bound to numeric fields, and the InputDatePicker has a Value property of type System.DateTime that can be bound to date fields.

    These are all value types and thus cannot be set to null or System.DBNull.Value. All these properties map internally to the BoundValue property, which is of type System.Object and can be set to null.

    See Also