Skip to main content
A newer version of this page is available. .
All docs
V22.1

HtmlContentControl.SetFieldValue(String, Object) Method

Sets the specified field’s value in the bound data object (HtmlContentControl.DataContext).

Namespace: DevExpress.XtraEditors

Assembly: DevExpress.XtraEditors.v22.1.dll

NuGet Package: DevExpress.Win.Navigation

Declaration

public void SetFieldValue(
    string fieldName,
    object value
)

Parameters

Name Type Description
fieldName String

The name of a target field in the bound data object.

value Object

The field’s new value.

Remarks

Use the HtmlContentControl.GetFieldValue method to obtain a field’s value. You can also use methods of the bound data object (HtmlContentControl.DataContext) to get and set field values.

Properties

Events

Methods

See Also