Hide

YetaWF.Core Package Documentation

Display
Print

YetaWF.Core.Models.PropertyData.GetCaption Method

Retrieves the property caption.

Class: YetaWF.Core.Models.PropertyData
Namespace: YetaWF.Core.Models
Assembly: YetaWF.Core

Syntax

public string? GetCaption( object? container );

Parameters

container

The parent model containing this property.

Return Value

The caption.

Remarks

If the ResourceRedirectAttribute is used, GetCaption returns the redirected caption, otherwise the localized caption derived from the CaptionAttribute is returned.

See Also YetaWF.Core.Models.PropertyData ClassYetaWF.Core Overview