The BlogContainer type exposes the following members.

Properties

  Name Description
Public property ActiveControl
Active blog control in the container.
Public property AllowFileUpload
Indicates if file upload is enabled for the blog system.
Public property AllowHtmlInPosts Obsolete.
Allow HTML code in blog posts?
Public property ApprovalMode
Comment approval mode. When set to none, no approval is needed; when set to automatic, services like Akismet and Defensio are used; when set to manual, admin must manually approve all comments.
Public property BlogPostEditControl
Blog post edit control - used for editing
Public property BlogPostListControl
Blog post list control - displays all blog posts
Public property BlogPostViewControl
Blog post view control - displays a single blog post
Public property CacheDuration
Web part's cache time duration in seconds, if set to 0 Web part is not cached.
Public property CategoryId
Get or set category filter for news menu
Public property ContentProviderTypeName
Gets or sets Content provider type name used for uploading files.
Public property DateFormatString
Date format string.
Public property EnableCommentModeratorNotifications
Gets or sets a value indicating whether comment notifications for moderators are enabled.
Public property EnableContentSharing
Gets or sets a flag if content sharing should be enabled.
Public property EnableSyntaxHighlighter
Indicates if syntax highlighter should be enabled.
Public property EnableXSSSecurityParser
Gets or sets a value that indicates whether XSS security parser is enabled.

Note: Removes any potentially dangerous XSS HTML tags using a whitelist approach.

Public property GravatarRenderType
Type of the avatar to be rendered - if not set, the web.config settings are used.
Public property MaxDescriptionChars
Gets or sets the maximum number of characters in the description field.
Public property MaxTitleChars
Max. number of characters in the title field.
Public property ModeratorRoles
Array of Guids that identify the roles which are allowed to moderate blog part.
Public property PagerQueryString
Gets or sets Pager query string name.
Public property PagerQueryStringComments
Gets or sets Pager query string name for comments.
Public property PagerQueryStringFiles
Gets or sets Pager query string name for files.
Public property PagerTemplateName
Gets or sets pager template name.
Public property PagerTemplateNameComments
Gets or sets pager template name for comments.
Public property PagerTemplateNameFiles
Gets or sets pager template name for files.
Public property PageSize
Pager page size.
Public property PageSizeComments
Gets or sets Pager (comments) page size.
Public property PageSizeFiles
Gets or sets Pager (files) page size.
Public property PagingEnabledComments
Indicates if paging is enabled in the comments module
Public property PagingEnabledFiles
Indicates if paging is enabled in the files module
Public property RatingHistoryTemplatePath
Gets or sets the rating history template path.
Public property RatingTemplatePath
Gets or sets the rating template path.
Public property RelatedContentVisible
Gets or sets a value that indicates whether related content control is visible.

Note: By setting related content as visible blog post preview module (and other modules) will show related blog posts.

Public property RewritePageTitle
Wheter to rewrite the container page title.
Public property RssEnabled
Get or set if Rss Engine should use this web part RSS channels.
Public property ShowRating
Gets or sets a flag if rating is shown.
Public property SubscriptionLocalization
Gets the subscription localization.

Note: Used to perform programatic localization of subscription strings.

Public property UploadFolder
File upload folder. The following special strings can be used and will be replaced by the appropriate values: {username}, {userid}, {id}.
Public property UsePrettyPhoto
Defines if PrettyPhoto script is used for previewing images instead of standard file redirection.
Public property ViewFilePageId
Property that holds the ID of the file view page that is used to display full size files.
Public property ViewFilePageUrl
Property that holds the file view page URL in case of URL rewriting scenarios. Has the priority over ViewFilePageId.

See Also