The FileGallery type exposes the following members.
Constructors
Name | Description | |
---|---|---|
FileGallery |
Constructor.
|
Methods
Name | Description | |
---|---|---|
ApplyChanges |
Apply web part property changes (Note: Overridden property still needs to be marked as WebPartApplyChangesAttribute).
(Overrides BasePart..::..ApplyChanges()()()().)Note: Marked with WebPartApplyChangesAttribute attribute so it is called from ApplyChanges event in the editor part to refresh the module appearance. |
|
BindData()()()() |
Binds and formats file gallery data for display in the main list view control.
|
|
BindData(Guid, Int32) |
Binds and formats file gallery data for display in the main list view control.
|
|
GetFileTagFilterUrl |
Gets the file tag filter rewritten url.
|
|
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.
|
|
LoadPostData |
Used to implement link button event handling capabilities in late bound scenarios.
|
|
lvItems_OnItemDataBound | ||
OnCommand |
Raises command event.
|
|
OnDeleted |
Raise delete event.
|
|
OnDeleting |
Raise deleting event.
|
|
OnInit | (Overrides BasePart..::..OnInit(EventArgs).) | |
OnLoad | (Overrides BasePart..::..OnLoad(EventArgs).) | |
OnPreRender | (Overrides BasePart..::..OnPreRender(EventArgs).) | |
ParseTemplateTags | ||
RaisePostBackEvent | ||
RaisePostDataChangedEvent |
Methid is used only if you need to perform event raising capabilities for the Web part.
|
|
SetRelationshipData |
Extension Methods
Name | Description | |
---|---|---|
ConvertTo(Type) | Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.) |
|
ConvertTo(Type, TypeConverter) | Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.) |
|
ConvertTo(Type, Boolean) | Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.) |
|
ConvertTo(Type, TypeConverter, Boolean) | Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.) |
|
ConvertTo<(Of <<'(T>)>>)()()()() | Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.) |
|
ConvertTo<(Of <<'(T>)>>)(TypeConverter) | Overloaded.
Converts a source to the given type.
(Defined by ObjectExtension.) |
|
GetCurrentStackTrace |
Gets current stack trace information.
(Defined by ObjectExtension.) |
|
GetDebugInformation |
Gets the debug information for currently executing code.
(Defined by ObjectExtension.) |
|
GetExecutingMethodName |
Gets the executing method name.
(Defined by ObjectExtension.) |
|
GetPagerTemplate |
Gets pager template.
(Defined by ControlExtension.) |
|
GetPropertyType |
Gets a property type.
(Defined by ObjectExtension.) |
|
GetPropertyValue |
Gets a property or field value from the object (Dot notation enabled).
(Defined by ObjectExtension.) |
|
PropertyExists |
Check if property exists.
(Defined by ObjectExtension.) |
|
SetPropertyValue |
Sets a property or field value to the object (Dot notation enabled).
(Defined by ObjectExtension.) |
Fields
Name | Description | |
---|---|---|
DeleteCommandName | ||
labTitle |
labTitle control.
|
|
lvItems |
lvItems control.
|
|
pager |
pager control.
|
|
panTitle |
panTitle control.
|
|
pnlContainer |
pnlContainer control.
|
|
scriptManagerProxy |
scriptManagerProxy control.
|
|
wndManager |
wndManager control.
|
Properties
Name | Description | |
---|---|---|
AvatarSize |
Gets or sets Avatar size - 1 to 80 for gravatars.
|
|
ContentProviderTypeName |
Content provider type used for uploading files.
|
|
CssClass |
Gets or sets file gallery css class name.
|
|
DateFormatString |
Date format string.
|
|
DeleteButtonCssClass |
Style for the delete icon.
|
|
EnableFileEdit |
Gets or sets a flag if file edit is enabled. Usually turned off if PrettyPhoto functionality is used.
|
|
EnablePrettyDateFormat |
Gets or sets if pretty date format is enabled.
Note: Example of pretty date format '2 days ago'. |
|
EnableTags |
Gets or sets a flag if topic tags should be shown.
|
|
ExcludeFileList |
List of file items that should be excluded from data source for the control.
|
|
FileGalleryFilterPagePath |
Gets or sets a virtual page path for file gallery filter results.
|
|
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.
|
|
FileTags |
Gets or sets a file tags gallery filter in csv format.
|
|
GroupCssClass |
Gets or sets file gallery group css class name.
|
|
LinkTarget | Obsolete.
Preview file link target window.
|
|
MaximumDescriptionLength |
Gets or sets a value indicating the maximum description length.
|
|
MaximumTags |
Gets or sets a maximum number of tags that should be shown.
|
|
PageSize |
Pager page size.
|
|
PagingEnabled |
Indicates if paging is enabled in the files module.
|
|
ParentEntityId |
Specifies the ID of the entity for which the files will be displayed.
|
|
ParentEntityType |
Indicates the type of the entity (note, message, custom) for which files are shown in the gallery.
|
|
PrettyPhotoSkin |
PrettyPhoto skin name.
|
|
PreviewPopupHeight |
Gets or sets preview popup height when pretty photo mode is not used
|
|
PreviewPopupWidth |
Gets or sets preview popup width when pretty photo mode is not used
|
|
PrivacyLevel |
Gets or sets privacy level for files to display in gallery
|
|
PrivacyLevelNotSetCssClass |
Gets or sets the privacy level not set css class.
|
|
PrivacyLevelPrefixCssClass |
Gets or sets the privacy level prefix css class.
|
|
ShowFileName |
Indicates if a file name is shown in the ALT tag of the file icon. Usually turned off if PrettyPhoto functionality is used.
|
|
TemplatedControl |
Templated list view that is used for rendering the "repeatable" section of this control.
|
|
ThumbnailSize |
Gets or sets a value indicating the thumbnail size.
|
|
TitleVisible |
Gets or sets a value indicating whether title is visible.
|
|
UsePrettyPhoto |
Uses Pretty Photo functionality instead of redirecting to a file preview page.
|
|
UserProfileUrl |
Gets or sets URL of the user profile page. If empty, a postback is performed to the same page.
|
|
UserReputationNewFileScore |
Gets or sets how much score user gets for new file submission.
|
|
ViewButtonCssClass |
Style for the view icon.
|
|
ViewButtonVisible |
Gets or sets a flag that indicates whether view button is visible.
|
|
ViewFilePageId |
URL of the file view page in case of URL rewriting scenarios. Has the priority over ViewFilePageId.
|
|
ViewFilePageUrl |
ID of the file view page that is used to display full size photos.
|
|
Visible |
Defines the visibility of the control.
(Overrides BasePart..::..Visible.) |
Events
Name | Description | |
---|---|---|
Command |
File gallery command event handler.
|
|
Deleted |
Deleted event handler.
|
|
Deleting |
Deleting event handler.
|
|
ItemDataBound |
File gallery item data bound event handler.
|