Back to Devexpress

ValueObject.Empty Property

officefileapi-devexpress-dot-spreadsheet-dot-valueobject-d8d24fbc.md

latest3.8 KB
Original Source

ValueObject.Empty Property

Returns an empty object.

Namespace : DevExpress.Spreadsheet

Assembly : DevExpress.Spreadsheet.v25.2.Core.dll

NuGet Package : DevExpress.Spreadsheet.Core

Declaration

csharp
public static ValueObject Empty { get; }
vb
Public Shared ReadOnly Property Empty As ValueObject

Property Value

TypeDescription
ValueObject

A ValueObject object specifying an empty value.

|

Remarks

Use the ValueObject.IsEmpty property to check whether the object is empty.

The following code snippets (auto-collected from DevExpress Examples) contain references to the Empty property.

Note

The algorithm used to collect these code examples remains a work in progress. Accordingly, the links and snippets below may produce inaccurate results. If you encounter an issue with code examples below, please use the feedback form on this page to report the issue.

winforms-spreadsheetcontrol-api-part-3/CS/SpreadsheetControl_API_Part03/CodeExamples/DataValidationActions.cs#L61

csharp
validation.Criteria = 20;
validation.Criteria2 = ValueObject.Empty;

wpf-spreadsheetcontrol-api-part-2/CS/SpreadsheetControl_WPF_API_Part02/SpreadsheetActions/DataValidationActions.cs#L73

csharp
validation.Criteria = 20;
validation.Criteria2 = ValueObject.Empty;

spreadsheet-document-api-examples-part2/CS/SpreadsheetDocServerAPIPart2/CodeExamples/DataValidationActions.cs#L84

csharp
validation.Criteria = 20;
validation.Criteria2 = ValueObject.Empty;

winforms-spreadsheetcontrol-api-part-3/VB/SpreadsheetControl_API_Part03/CodeExamples/DataValidationActions.vb#L51

vb
validation.Criteria = 20
validation.Criteria2 = DevExpress.Spreadsheet.ValueObject.Empty
' Highlight data validation ranges.

spreadsheet-document-api-examples-part2/VB/SpreadsheetDocServerAPIPart2/CodeExamples/DataValidationActions.vb#L81

vb
validation.Criteria = 20
validation.Criteria2 = ValueObject.Empty

See Also

ValueObject Class

ValueObject Members

DevExpress.Spreadsheet Namespace