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.DefaultMember Property

Supplies metadata on the current type's default member.

Namespace: DevExpress.ExpressApp.DC

Assembly: DevExpress.ExpressApp.v19.2.dll

Declaration

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

Property Value

Type Description
IMemberInfo

An IMemberInfo object that supplies metadata on the current type's default member.

Property Value

Type Description
IMemberInfo

An IMemberInfo object that supplies metadata on the current type's default member.

Property Value

Type Description
IMemberInfo

An IMemberInfo object that supplies metadata on the current type's default member.

Remarks

The default member is the property to which the DefaultPropertyAttribute is applied. If this attribute is not applied to any business class' properties (including inherited properties), a property called "Name" is searched for, to be set as the default. If this property cannot be found, the property specified by the FriendlyKeyPropertyAttribute is considered the default. If the FriendlyKeyPropertyAttribute is not applied to any property, the property that uses the KeyAttribute is searched for. If there is none, the default key property is considered the default.

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