Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

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.v24.2.dll

NuGet Package: DevExpress.Win.Navigation

#Declaration

public static bool IsNotLoadedValue(
    object value
)

#Parameters

Name Type Description
value Object

A value to be tested.

#Returns

Type Description
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