AdvantageCMS.Core.Admin.BaseClasses Namespace
AdvantageCMS.Core.Common.BaseClasses Namespace
Build With Advantage

BusinessObjectBase..::..GetFriendlyNameForProperty Method

Gets the friendly display name for a property using its DisplayAttribute, if present.

Namespace:  AdvantageCMS.Core.Admin.BaseClasses
Assembly:  AdvantageCMS.Core (in AdvantageCMS.Core.dll)

Syntax


public Nullable<string> GetFriendlyNameForProperty(
	string propertyName
)

Parameters

propertyName
Type: String
The name of the property to look up.

Return Value

The display name from the DisplayAttribute, or null if not found.