Class FolderBrowerSidebar

Interaction logic for FolderBrowerSidebar.xaml

System.Object
  System.Windows.Threading.DispatcherObject
    System.Windows.DependencyObject
      System.Windows.Media.Visual
        System.Windows.UIElement
          System.Windows.FrameworkElement
            System.Windows.Controls.Control
              System.Windows.Controls.ContentControl
                System.Windows.Controls.UserControl
                  MarkdownMonster.Windows.FolderBrowerSidebar
public class FolderBrowerSidebar : UserControl, INotifyPropertyChanged,
   IComponentConnector,
   IStyleConnector

Class Members

MemberDescription

Constructor

PropertyChanged

GetNestedTreeviewItem

Retrieves a nested TreeViewItem by walking the hierarchy. Specify a root treeview or treeviewitem and it then walks the hierarchy to find the item

public TreeViewItem GetNestedTreeviewItem(object item,     ItemsControl treeItem)

GetSelectedPathItem

public PathItem GetSelectedPathItem()

HandleItemSelection

public void HandleItemSelection(bool forceEditorFocus)

InitializeComponent

InitializeComponent

public sealed void InitializeComponent()

OpenFile

public void OpenFile(string file,     bool forceEditorFocus)

ReleaseFileWatcher

public void ReleaseFileWatcher()

SelectFileInSelectedFolderBrowserFolder

Selects a file in the top level folder browser folder by file name.

public void SelectFileInSelectedFolderBrowserFolder(string fileName,     bool setFocus)

SetTreeFromFolder

Sets the tree's content from a folderOrFilePath or filename.

This method is also called from the FolderPath property Getter after some pre-processing.

public void SetTreeFromFolder(string folderOrFilePath,     bool setFocus,     string searchText)

SetTreeViewSelectionByIndex

public void SetTreeViewSelectionByIndex(int index)

SetTreeViewSelectionByItem

public void SetTreeViewSelectionByItem(PathItem item,     TreeViewItem parentTreeViewItem)

UpdateGitStatus

Updates the Git status of the files currently active in the tree.

public void UpdateGitStatus(PathItem pathItem)

ActivePathItem

AppModel

FolderBrowserContextMenu

FolderPath

FolderStructure

Internal value

SearchSubTrees

SearchText

Window

Requirements

Namespace: MarkdownMonster.Windows
Assembly: markdownmonster.exe

© West Wind Technologies, 1996-2021 • Updated: 02/14/20
Comment or report problem with topic