ShellBrowser Delphi Components Documentation
ContentsIndexHome
PreviousUpNext
Jam.Shell.ViewSettings.TJamViewSettingsPropertyBag

Encapsulates a Windows Explorer like view state property bag and provides storing and loading of settings.

Jam_Shell_ViewSettings_TJamViewSettingsPropertyBagJam_Shell_ViewSettings_TJamViewSettingsPropertyBagJam_Shell_ViewSettings_TJamViewSettingsPropertyBagJam_Shell_ViewSettings_TJamViewSettingsPropertyBag
Syntax
Pascal
TJamViewSettingsPropertyBag = class(TJamCustomViewStatePropertyBag, IJamViewSettings);

The following example shows how load the view state property bag of "C:" and read the stored icon size of the folder:

  var
    ViewStatePropertyBag: IJamViewSettings;
    IconSize: DWORD;

  begin
    ViewStatePropertyBag := TJamViewStatePropertyBag.Create;

    // Property bag of "C:" was opened successfully?
    if ViewStatePropertyBag.Open(TJamItemIdList.Create('C:')) then
      // Load settings
      IconSize := ViewStatePropertyBag.IconSize;
  end;
Jam.Shell.ViewSettings.TJamBaseViewSettings
 
Name 
Description 
 
Constructor for creating a TJamDefaultViewSettings instance.  
Jam.Shell.ViewSettings.TJamViewSettingsPropertyBag
 
Name 
Description 
 
Creates a new instance.  
 
Name 
Description 
 
Gets the folder flags.  
 
Gets the grouping.  
 
Gets the direction of the grouping.  
 
Gets if the view uses grouping.  
 
Gets the icon size in pixels.  
 
Gets the sorting.  
 
Gets the shell column, the view is sorted by.  
 
Gets the current sort direction.  
 
Gets the view mode.  
 
Opens the property bag for a specified folder.  
 
Loads the stored column view states.  
 
Sets the folder flags.  
 
Sets the grouping.  
 
Sets the direction of the grouping.  
 
Sets if the view uses grouping.  
 
Sets the icon size.  
 
Sorts the view by a column.  
 
Sets the shell column the view should be sorted by.  
 
Sets the current sort direction.  
 
Sets the view mode.  
 
Stores the specified column view states.  
Jam.Shell.ViewSettings.TJamBaseViewSettings
 
Name 
Description 
 
Opens the property bag for a specified folder.  
 
Loads the stored column view states.  
 
Stores the specified column view states.  
Jam.Shell.ViewSettings.TJamCustomViewStatePropertyBag
Jam.Shell.ViewSettings.TJamViewSettingsPropertyBag
 
Name 
Description 
 
Opens the property bag for the passed pFolderIdList from the bag with the specified name.  
 
Loads the stored column view states.  
 
Stores the specified column view states.  
Jam.Shell.ViewSettings.TJamBaseViewSettings
 
Name 
Description 
 
Gets the absolute ItemIdList of a folder to load or store the view settings.  
Jam.Shell.ViewSettings.TJamCustomViewStatePropertyBag
 
Name 
Description 
 
Gets set name of the opened property bag.  
 
Gets the view template of the opened property bag.  
Jam.Shell.ViewSettings.TJamViewSettingsPropertyBag