The FileGallery type exposes the following members.

Constructors

  Name Description
Public method FileGallery
Constructor.

Methods

  Name Description
Public method ApplyChanges
Apply web part property changes (Note: Overridden property still needs to be marked as WebPartApplyChangesAttribute).

Note: Marked with WebPartApplyChangesAttribute attribute so it is called from ApplyChanges event in the editor part to refresh the module appearance.

(Overrides BasePart..::..ApplyChanges()()()().)
Public method BindData()()()()
Binds and formats file gallery data for display in the main list view control.
Public method BindData(Guid, Int32)
Binds and formats file gallery data for display in the main list view control.
Protected method GetFileTagFilterUrl
Gets the file tag filter rewritten url.
Public method GetNavigateUrl
Produces a FilewView URL for a file. User can use ViewFilePageUrl property which by default reads the URL rewriting rules from the web.config. FileID and ReturnPageId placeholders are to be replaced with the file id value and the id of the referring page. Alternatively, ViewFilePageId can be used from code (by setting it to page.ID value) or Properties panel (by using page picker control). No placeholders are used in such case.
Public method LoadPostData
Used to implement link button event handling capabilities in late bound scenarios.
Protected method lvItems_OnItemDataBound
Protected method OnCommand
Raises command event.
Protected method OnDeleted
Raise delete event.
Protected method OnDeleting
Raise deleting event.
Protected method OnInit (Overrides BasePart..::..OnInit(EventArgs).)
Protected method OnLoad (Overrides BasePart..::..OnLoad(EventArgs).)
Protected method OnPreRender (Overrides BasePart..::..OnPreRender(EventArgs).)
Protected method ParseTemplateTags
Public method RaisePostBackEvent
Public method RaisePostDataChangedEvent
Methid is used only if you need to perform event raising capabilities for the Web part.
Public method SetRelationshipData

Extension Methods

  Name Description
Public Extension Method ConvertTo(Type) Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.)
Public Extension Method ConvertTo(Type, TypeConverter) Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.)
Public Extension Method ConvertTo(Type, Boolean) Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.)
Public Extension Method ConvertTo(Type, TypeConverter, Boolean) Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.)
Public Extension Method ConvertTo<(Of <<'(T>)>>)()()()() Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.)
Public Extension Method ConvertTo<(Of <<'(T>)>>)(TypeConverter) Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.)
Public Extension Method GetCurrentStackTrace
Gets current stack trace information.
(Defined by ObjectExtension.)
Public Extension Method GetDebugInformation
Gets the debug information for currently executing code.
(Defined by ObjectExtension.)
Public Extension Method GetExecutingMethodName
Gets the executing method name.
(Defined by ObjectExtension.)
Public Extension Method GetPagerTemplate
Gets pager template.
(Defined by ControlExtension.)
Public Extension Method GetPropertyType
Gets a property type.
(Defined by ObjectExtension.)
Public Extension Method GetPropertyValue
Gets a property or field value from the object (Dot notation enabled).
(Defined by ObjectExtension.)
Public Extension Method PropertyExists
Check if property exists.
(Defined by ObjectExtension.)
Public Extension Method SetPropertyValue
Sets a property or field value to the object (Dot notation enabled).
(Defined by ObjectExtension.)

Fields

  Name Description
Public field Static member DeleteCommandName
Protected field labTitle
labTitle control.
Protected field lvItems
lvItems control.
Protected field pager
pager control.
Protected field panTitle
panTitle control.
Protected field pnlContainer
pnlContainer control.
Protected field scriptManagerProxy
scriptManagerProxy control.
Protected field wndManager
wndManager control.

Properties

  Name Description
Public property AvatarSize
Gets or sets Avatar size - 1 to 80 for gravatars.
Public property ContentProviderTypeName
Content provider type used for uploading files.
Public property CssClass
Gets or sets file gallery css class name.
Public property DateFormatString
Date format string.
Public property DeleteButtonCssClass
Style for the delete icon.
Public property EnableFileEdit
Gets or sets a flag if file edit is enabled. Usually turned off if PrettyPhoto functionality is used.
Public property EnablePrettyDateFormat
Gets or sets if pretty date format is enabled.

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

Public property EnableTags
Gets or sets a flag if topic tags should be shown.
Public property ExcludeFileList
List of file items that should be excluded from data source for the control.
Public property FileGalleryFilterPagePath
Gets or sets a virtual page path for file gallery filter results.
Public property FileList
List of file items that should be used as data source for the control in static scenarios; allows specifying files in the source of the page when dynamic management is not necessary.
Public property FileTags
Gets or sets a file tags gallery filter in csv format.
Public property GroupCssClass
Gets or sets file gallery group css class name.
Public property LinkTarget Obsolete.
Preview file link target window.
Public property MaximumDescriptionLength
Gets or sets a value indicating the maximum description length.
Public property MaximumTags
Gets or sets a maximum number of tags that should be shown.
Public property PageSize
Pager page size.
Public property PagingEnabled
Indicates if paging is enabled in the files module.
Public property ParentEntityId
Specifies the ID of the entity for which the files will be displayed.
Public property ParentEntityType
Indicates the type of the entity (note, message, custom) for which files are shown in the gallery.
Public property PrettyPhotoSkin
PrettyPhoto skin name.
Public property PreviewPopupHeight
Gets or sets preview popup height when pretty photo mode is not used
Public property PreviewPopupWidth
Gets or sets preview popup width when pretty photo mode is not used
Public property PrivacyLevel
Gets or sets privacy level for files to display in gallery
Public property PrivacyLevelNotSetCssClass
Gets or sets the privacy level not set css class.
Public property PrivacyLevelPrefixCssClass
Gets or sets the privacy level prefix css class.
Public property ShowFileName
Indicates if a file name is shown in the ALT tag of the file icon. Usually turned off if PrettyPhoto functionality is used.
Public property TemplatedControl
Templated list view that is used for rendering the "repeatable" section of this control.
Public property ThumbnailSize
Gets or sets a value indicating the thumbnail size.
Public property TitleVisible
Gets or sets a value indicating whether title is visible.
Public property UsePrettyPhoto
Uses Pretty Photo functionality instead of redirecting to a file preview page.
Public property UserProfileUrl
Gets or sets URL of the user profile page. If empty, a postback is performed to the same page.
Public property UserReputationNewFileScore
Gets or sets how much score user gets for new file submission.
Public property ViewButtonCssClass
Style for the view icon.
Public property ViewButtonVisible
Gets or sets a flag that indicates whether view button is visible.
Public property ViewFilePageId
URL of the file view page in case of URL rewriting scenarios. Has the priority over ViewFilePageId.
Public property ViewFilePageUrl
ID of the file view page that is used to display full size photos.
Public property Visible
Defines the visibility of the control.
(Overrides BasePart..::..Visible.)

Events

  Name Description
Public event Command
File gallery command event handler.
Public event Deleted
Deleted event handler.
Public event Deleting
Deleting event handler.
Public event ItemDataBound
File gallery item data bound event handler.

See Also