Skip to main content

IShellFrame

The IShellFrame is a property of IDashboard.

It can also be retrieved from the IShellUI using the NewShellFrame event.

shellUI.Events.Register(
MFiles.Event.NewShellFrame,
(shellFrame) => {

}
)

Properties

NameTypeDescription
ActiveListingIShellListingAccesses the currently active listing object.
CommandsICommandsAccesses the commands of the shell frame.
CurrentFolderArray < Folder >Accesses the current folder location. Valid only if the current location is a normal folder location.
CurrentPathstringGets the path to the current folder as string.

For special views, the following built-in path strings are used:
- Search - Search view
- Workspaces - Workspaces view
- Pinned - Pinned view
- Checked Out to Me\\ - Checked Out to Me
- Recently Modified by Me\\ - Recently Modified by Me
- Assigned to Me\\ - Assigned to Me
- Recently Accessed by Me\\ - Recently Accessed by Me
- Favorites\\ - Favorites
- Object History - Object History
- Conflict Resolution - Conflict Resolution
- _singleObject - Single Object view (opened when navigating to an object)
CurrentUrlstringGets the current view url as a string.
EventsIShellFrameEventsReturns the event registering interface for the IShellFrame interface.
LeftPaneIShellPaneContainerAccesses the left panes of the shell frame.
ListingIShellListingAccesses the main listing object of the shell frame.
ParentFolderArray < Folder >Gets the parent folder for current location.
RightPaneIShellPaneContainerAccesses the right panes of the shell frame.
SearchPaneISearchPaneAccesses the search pane of the shell frame.
ShellUIIShellUIAccesses the parent shell UI object.

Methods

NameDescription
GetSandboxAttributesGets the sandbox attributes for the specified Module.
GetViewsByIdGets known views details as key pair value of <ViewID,View Details.>
IsFolderLocationResolves if the shell frame represents a normal folder location. For example it is
a search folder or view, a property folder or traditional folder, but not an
object folder.
IsObjectLocationResolves if the shell frame represents a object folder location.
NavigateToFolderNavigate to the given folder defs.
NavigateToObjectNavigate to the given object.
NavigateToParentPerforms navigation to the parent folder.
ShowDashboardChanges the listing area to show a dashboard.
ShowDefaultContentRestores the normal listing to the listing area.
ShowMessageDisplays a modal message box.
ShowPopupDashboardShows a dashboard in popup window.

Events

EventDescriptionArguments
StopSent before the IShellFrame is stopped.
StartedRegisters event handler for the IShellFrame started event, which means that the IShellFrame
is ready to be used. This event will trigger at least once for each registered callback
if the IShellFrame is already started and not yet stopped.
ViewLocationChangedRegisters event handler for the IShellFrame ViewLocationChanged event, which means that the view location has changed.
ViewLocationChangedAsyncRegisters event handler for the IShellFrame ViewLocationChangedAsync event, which means that the view location has changed.
NewCommandsRegisters event handler for the IShellFrame NewCommands event, which means that a new ICommands interface has been created and is ready to be used.
NewRightPaneRegisters event handler for the IShellFrame NewRightPane event, which means that a shell pane container is created for right shell pane.
NewShellListingRegisters event handler for the IShellFrame NewShellListing event, which means that a new shell listing object is created.newShellisting The new IShellListing object.
shellFrame.Events.Register(
Event.NewShellListing,
(newShellisting: IShellListing) => {
// Do something with the new shell listing object
},
);