The RelatedContent type exposes the following members.

Properties

  Name Description
Public property BlogPostUrl
String that is used to format the URL for displaying a single blog post
Public property CssClass
Gets or sets the related content container CSS class.
Public property DateFormatString
Date format string.
Public property EnablePrettyDateFormat
Gets or sets if pretty date format is enabled.

Note: Example of pretty date format '2 days ago'.

Public property MaxContentChars
Maximum number of characters in the content. If set to zero, content is not limited.
Public property NewsReadMorePageUrl
Gets or sets the news read more page url.
Public property Pager
Gets pager control.
Public property PageSize
Pager page size.
Public property PagingEnabled
Indicates if paging is enabled in the related content module.
Public property ParentEntityId
ID of the parent entity (wall note, picture, etc.) for which to show related content.
Public property ParentEntityType
Enum that describes the parent entity type (note, file, album, custom, etc.).
Public property PhotoListUrl
URL of the photo list page.
Public property PhotoListUrlPattern
URL pattern of the photo list page.
Public property RelatedContentTitle
Gets or sets the title of the module.
Public property RelatedContentTitleVisible
Gets or sets the title of the module.
Public property TemplatedControl
Templated list view that is used for rendering the "repeatable" section of this control.
Public property UserProfileUrl
URL of the user profile page. If empty, a postback is performed to the same page.
Public property ViewFilePageUrl
ID of the file view page that is used to display full size photos.

See Also