
Interaction logic for FolderBrowerSidebar.xaml
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
Member | Description | |
---|---|---|
![]() |
Constructor |
|
![]() |
PropertyChanged |
|
![]() |
lastClick |
|
![]() |
TextSearch |
TextSearch Name Field |
![]() |
TreeFolderBrowser |
TreeFolderBrowser Name Field |
![]() |
ClearSelectedItems |
Clears all selected items public void ClearSelectedItems(ItemCollection items, PathItem[] except) public void ClearSelectedItems(IEnumerable |
![]() |
FocusFileSearchBox |
public void FocusFileSearchBox(string searchText) |
![]() |
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) |
![]() |
GetSelectedItem |
Returns the first selected item in the tree from the top down. public PathItem GetSelectedItem(ItemCollection items) |
![]() |
GetSelectedItems |
Returns all selected Path Items in the folder tree public List |
![]() |
GetSelectedPathItem |
Returns the Active Selected Path Item public PathItem GetSelectedPathItem() |
![]() |
GetSelectedPathItems |
Returns a list of selected items. public List |
![]() |
GetTreeViewItem |
Returns a TreeViewItem from a Path Item recursively public TreeViewItem GetTreeViewItem(PathItem pathItem, ItemsControl parentContainer, bool nonRecursive) |
![]() |
HandleItemSelection |
Explicitly selects the active path item and forces focus into it public Task HandleItemSelection(bool forceEditorFocus) |
![]() |
InitializeComponent |
InitializeComponent public sealed void InitializeComponent() |
![]() |
OpenFile |
public Task OpenFile(string file, bool forceEditorFocus) public Task OpenFile(string file, bool forceEditorFocus, bool rebindTabHeaders) |
![]() |
ReleaseFileWatcher |
public void ReleaseFileWatcher() |
![]() |
SelectFileInSelectedFolderBrowserFolder |
Selects a file in the top level folder browser folder by file name. public bool SelectFileInSelectedFolderBrowserFolder(string fileName, bool setFocus, PathItem rootItem, bool nested) |
![]() |
SetTreeFromFolder |
Sets the tree's content from a folderOrFilePath or filename. public void SetTreeFromFolder(string folderOrFilePath, bool setFocus, string searchText, FolderFileOrder folderFileOrder) public void SetTreeFromFolder(string folderOrFilePath, bool setFocus, string searchText, FolderFileOrder folderFileOrder, bool dontReloadItems) |
![]() |
SetTreeViewSelectionByIndex |
public void SetTreeViewSelectionByIndex(int index) |
![]() |
SetTreeViewSelectionByItem |
Tries to select an item in the tree including nested items below and above. 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.WindowsAssembly: markdownmonster.exe
© West Wind Technologies, 2016-2024 • Updated: 11/23/21
Comment or report problem with topic