Skip to main content
.NET Framework 4.6.2+

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

ITypeInfo.DeclaredDefaultMember Property

Supplies metadata on the type’s property declared as the default.

Namespace: DevExpress.ExpressApp.DC

Assembly: DevExpress.ExpressApp.v24.2.dll

NuGet Package: DevExpress.ExpressApp

#Declaration

IMemberInfo DeclaredDefaultMember { get; }

#Property Value

Type Description
IMemberInfo

An IMemberInfo object supplying metadata on the type’s property declared as the default.

#Remarks

This method returns the type’s public visible property marked with the DefaultPropertyAttribute. If the DefaultPropertyAttribute is not applied to a type or its ancestors, the DeclaredDefaultMember property returns null (Nothing in VB).

If a property is the default, then:

  • It is displayed in Lookup Property Editors.
  • It takes part in form caption generation.
  • It is used in the FullTextSearch Action’s engine.
  • It is displayed first in List Views.
See Also