The requested page is not available for the requested platform. You are viewing the content for .NET Framework 4.5.2+ platform.
.NET Framework 4.5.2+
.NET Framework 4.5.2+
.NET Standard 2.0+
.NET Core 3.0+

ITypeInfo.DeclaredDefaultMember Property

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

Namespace: DevExpress.ExpressApp.DC

Assembly: DevExpress.ExpressApp.v19.2.dll

Declaration

IMemberInfo DeclaredDefaultMember { get; }
ReadOnly Property DeclaredDefaultMember As IMemberInfo
IMemberInfo DeclaredDefaultMember { get; }
ReadOnly Property DeclaredDefaultMember As IMemberInfo
IMemberInfo DeclaredDefaultMember { get; }
ReadOnly Property DeclaredDefaultMember As IMemberInfo

Property Value

Type Description
IMemberInfo

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

Property Value

Type Description
IMemberInfo

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

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