The BaseNewsModule type exposes the following members.

Properties

  Name Description
Public property AvatarSize
Gets or sets Avatar size - 1 to 80 for gravatars.
Public property CategoryFilterId
Gets or sets category filter for the news module (Defined by the personalization settings).
Public property CategoryId
Gets or sets selected news category id (Defined in the url query parameters). Note: CategoryId is ignored if category filter is set
Public property ContentSharingEnabled
Gets or sets if Content Sharing is enabled.
Public property CssClass
Gets or sets CssClass for the news module.
Public property CustomTags
Gets or sets custom tags.
Public property DataSource
Gets the news module data source.
Public property DateTimeFormat
Gets or sets date time format.
Public property EditRoles
Array of Guids that identify the roles which are allowed to edit this part.
(Overrides BasePart..::..EditRoles.)
Public property EnablePrettyDateFormat
Gets or sets if pretty date format is enabled.

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

Public property ExternalReadMorePage
Gets or sets external read more page
Protected property Filter
Gets the main news filter container.
Public property GravatarRenderType
Type of the avatar to be rendered - if not set, the web.config settings are used.
Public property IsEmpty
Gets the flag if there are no news items according to the current filter.
Protected property IsNewsModulePlacedOnHomePage
Gets or sets if news module place holder is home page
Public property LongDateTimeFormat
Gets or sets long date time format.
Public property MaximumContentLength
Gets or sets a maximum news content length.
Public property MaximumShortContentLength
Gets or sets a maximum news short content length.
Public property ModuleType
Public property NewsHolderControl
Gets or sets a news holder control.
Public property NewsRepeatColumns
Gets or sets news repeat columns.
Public property NewsRepeatDirection
Gets or sets news repeat direction.
Public property NumberOfNewsItemsToShow
Gets or sets the maximum number of news items that news module should show

Note: 0 is unlimited

Public property PagerPageSize
Gets or sets the pager page size.
Protected property Prefetch
Gets the main news sorter container.
Public property RatingHistoryTemplatePath
Gets or sets the rating history template path.
Public property RatingSkin
Gets or sets news module rating control default skin.
Public property RatingTemplatePath
Gets or sets the rating template path.
Public property ReadMorePage
Gets or sets the read more page Note: If left blank news content is opened on same page
Public property ReadMorePageTitle
Gets or sets read more page Title.
Public property ReadMorePageUrl
Gets or sets read more page url
Public property RssEnabled
Gets or sets if Rss Engine should use this web part RSS channels.
Public property ShowAllItems
Gets or sets if news module should show all items, regardless of wheter they are expired or not.
Public property ShowCategoryTitle
Gets or sets if news module should show category title.
Public property ShowCategoryTitleAsLink
Gets or sets if news module should show category title as link.
Public property ShowCreateDate
Gets or sets if news module should show date of creation.
Public property ShowCustomDate
Gets or sets if news module should show custom date.
Public property ShowFullCategoryPathway
Gets or sets if news module should show full category pathway.
Public property ShowIfEmpty
Gets or sets module visibility if there is no news items .
Public property ShowModificationDate
Gets or sets if news module should show modification date.
Public property ShowNewsFromSubCategories
Gets or sets if news module should show news from category filter sub categories.
Public property ShowPublishDates
Gets or sets a value indicating whether publish dates should be visible.
Public property ShowRating
Gets or sets if news module should show rating.
Public property ShowRatingHistory
Gets or sets if news module should show rating history.
Public property ShowRevision
Gets or sets if news module should show revison number.
Public property ShowShortContent
Gets or sets if news module should show short content. Note: If set to False full news content will be displayed.
Public property ShowTitle
Gets or sets if news module should show title.
Public property ShowUsername
Gets or sets if news module should show Username.
Public property ShowViewCount
Gets or sets if news module should show view count.
Protected property Sorter
Gets the main news sorter container.
Public property UserProfileUrl
URL of the user profile page. If empty, a postback is performed to the same page.
Public property UseTellAFriendProvider
Gets or sets if Content Sharing Engine should use Tell a Friend as default provider (over the Add This provider).

See Also