Back to Devexpress

BaseEdit.IsNotLoadedValue(Object) Method

windowsforms-devexpress-dot-xtraeditors-dot-baseedit-dot-isnotloadedvalue-x28-system-dot-object-x29.md

latest1.8 KB
Original Source

BaseEdit.IsNotLoadedValue(Object) Method

Gets whether the specified value is the “Non-loaded Value”. This property is in effect when asynchronous data binding is used.

Namespace : DevExpress.XtraEditors

Assembly : DevExpress.XtraEditors.v25.2.dll

NuGet Package : DevExpress.Win.Navigation

Declaration

csharp
public static bool IsNotLoadedValue(
    object value
)
vb
Public Shared Function IsNotLoadedValue(
    value As Object
) As Boolean

Parameters

NameTypeDescription
valueObject

A value to be tested.

|

Returns

TypeDescription
Boolean

true if the specified value is the “Non-loaded Value”; otherwise, false.

|

Remarks

During async data loading operations, editors (cells in container editors) may contain invalid values (for instance, if data hasn’t been loaded yet). In this instance, reading the editor’s (or cell’s) value will return a static object (“Non-loaded Value”), that tells you that the editor’s data hasn’t been loaded yet. You can check whether the returned value matches the static “Non-loaded Value” by calling the IsNotLoadedValue method.

See Also

BaseEdit Class

BaseEdit Members

DevExpress.XtraEditors Namespace