49
Large icons

axExFolderView1.SmallIcons = false;
stdole.IFontDisp f = new stdole.StdFont() as stdole.IFontDisp;
	f.Size = 16;
axExFolderView1.Font = (f as stdole.IFontDisp);

48
Small icons

axExFolderView1.SmallIcons = true;

47
Folder icons are very close together vertically. Can you change the icon or increase the separation

axExFolderView1.ItemHeight = 24;

46
Is it possible to re-call the ExploreFromHere without re-selecting/expanding any previously item

// Click event - Occurs when the user presses and then releases the left mouse button over the control.
private void axExFolderView1_ClickEvent(object sender, EventArgs e)
{
	axExFolderView1.ExploreFromHere = "|reset";
}
//this.axExFolderView1.ClickEvent += new EventHandler(this.axExFolderView1_ClickEvent);

axExFolderView1.ExploreFromHere = "c:\\";

45
How can I expand a folder

axExFolderView1.get_ShellFolder("C:\\").Expanded = true;

44
How do I get the subfolders of specified folder

EXFOLDERVIEWLib.ShellFolders var_ShellFolders = (axExFolderView1.get_ShellFolder("C:\\").Folders as EXFOLDERVIEWLib.ShellFolders);

43
How do I check a folder

axExFolderView1.HasCheckBoxes = true;
axExFolderView1.get_ShellFolder("C:\\").Check = true;

42
How do I get the name of folder, as it is displayed in the control

string var_DisplayName = axExFolderView1.FirstVisibleFolder.DisplayName;

41
How can I specify the folders being displayed in the control

// IncludeFolder event - Occurs when the user includes folders to the control.
private void axExFolderView1_IncludeFolder(object sender, AxEXFOLDERVIEWLib._IExFolderViewEvents_IncludeFolderEvent e)
{
	e.include = false;
}
//this.axExFolderView1.IncludeFolder += new AxEXFOLDERVIEWLib._IExFolderViewEvents_IncludeFolderEventHandler(this.axExFolderView1_IncludeFolder);

axExFolderView1.IncludeFolder = true;

40
How can I include the files and folders in the control

axExFolderView1.IncludeAttributeMask = 2147483703;

39
How can I change the control's font

stdole.IFontDisp f = new stdole.StdFont() as stdole.IFontDisp;
	f.Name = "Verdana";
	f.Size = 12;
axExFolderView1.Font = (f as stdole.IFontDisp);

38
Can I add a rename to the control's context menu
axExFolderView1.CanRename = true;

37
How can I change the shape of the cursor
axExFolderView1.MousePointer = 2;

36
How can I get height of the horizontal scroll bar
System.Diagnostics.Debug.Print( axExFolderView1.HorizontalHeight.ToString() );

35
How can I get width of the vertical scroll bar
System.Diagnostics.Debug.Print( axExFolderView1.VerticalWidth.ToString() );

34
How can I remove the control's scroll bars
System.Diagnostics.Debug.Print( axExFolderView1.Scrollbars.ToString() );

33
How can I get the horizontal scroll range
System.Diagnostics.Debug.Print( axExFolderView1.HorizontalOversize.ToString() );

32
How can I get the horizontal scroll position
System.Diagnostics.Debug.Print( axExFolderView1.HorizontalOffset.ToString() );

31
How can I get the vertical scroll range
System.Diagnostics.Debug.Print( axExFolderView1.VerticalOversize.ToString() );

30
How can I get the vertical scroll position
System.Diagnostics.Debug.Print( axExFolderView1.VerticalOffset.ToString() );

29
Can I assign partial check boxes to folders, so the sub folders get checked when the user checks the parent folder

axExFolderView1.HasCheckBoxes = true;
axExFolderView1.PartialCheck = true;
axExFolderView1.FirstVisibleFolder.Check = true;

28
How can I drop files to control
axExFolderView1.AllowDropFiles = true;

27
Can I explore only a folder, so the user can't see the parent folder

axExFolderView1.ExploreFromHere = "c:\\";

26
How can I hide the icons

axExFolderView1.IconsVisible = false;

25
How can I disable or enable the entire control
axExFolderView1.Enabled = false;

24
How can I expand a folder

axExFolderView1.EnsureVisible(axExFolderView1.get_SpecialFolderPath(EXFOLDERVIEWLib.SpecialFolderPathEnum.StartMenu));

23
How can I ensure that a specified folder fits the contrl's client area

axExFolderView1.EnsureVisible(axExFolderView1.get_SpecialFolderPath(EXFOLDERVIEWLib.SpecialFolderPathEnum.StartMenu));

22
How do I refresh the control
axExFolderView1.Refresh();

21
Is there any function or property to get the first visible folder

axExFolderView1.HasCheckBoxes = true;
axExFolderView1.FirstVisibleFolder.Check = true;

20
How do I find a special folder, like My Computer

axExFolderView1.SelectedFolder = "::{20D04FE0-3AEA-1069-A2D8-08002B30309D}";

19
How do I find a special folder, like My Computer

axExFolderView1.SelectedFolder = axExFolderView1.get_SpecialFolderPath(EXFOLDERVIEWLib.SpecialFolderPathEnum.MyComputer);

18
How do I select and expand a folder

axExFolderView1.SelectedFolder = axExFolderView1.get_SpecialFolderPath(EXFOLDERVIEWLib.SpecialFolderPathEnum.Programs);

17
How do I select and expand a folder

axExFolderView1.SelectedFolder = "c:\\";

16
How do I select a folder

axExFolderView1.SelectedFolder = "c:\\";

15
How do I get the checked folders or files

axExFolderView1.HasCheckBoxes = true;
axExFolderView1.FirstVisibleFolder.Check = true;
System.Diagnostics.Debug.Print( axExFolderView1.FoldersCheck.Count.ToString() );

14
How can I display the hidden folders

axExFolderView1.HiddenFolders = true;

13
How can I get the folder or the file from the point
// MouseMove event - Fired when the user move the mouse over the ExFolderView control.
private void axExFolderView1_MouseMoveEvent(object sender, AxEXFOLDERVIEWLib._IExFolderViewEvents_MouseMoveEvent e)
{
	System.Diagnostics.Debug.Print( axExFolderView1.get_FolderFromPoint(-1,-1).ToString() );
}
//this.axExFolderView1.MouseMoveEvent += new AxEXFOLDERVIEWLib._IExFolderViewEvents_MouseMoveEventHandler(this.axExFolderView1_MouseMoveEvent);


12
How can I refresh the control as soon as the user renames a folder in Windows Explorer
axExFolderView1.AutoUpdate = true;

11
How do I enable or disable the control's context menu
axExFolderView1.EnableShellMenu = false;

10
How do I hide the overlay icons
axExFolderView1.OverlayIcons = false;

9
How do I display the overlay icons
axExFolderView1.OverlayIcons = true;

8
How do I display the share name for folders and files
axExFolderView1.DisplayShareName = true;

7
How do I assign a checkbox for each folder/file in the control

axExFolderView1.HasCheckBoxes = true;

6
How do I remove the lines that link the root items

axExFolderView1.HasLinesAtRoot = false;

5
How do I remove the buttons to expand or collapse the folders

axExFolderView1.HasButtons = false;

4
How do I remove the lines between items

axExFolderView1.HasLines = false;

3
How do I remove the control's border
axExFolderView1.Appearance = EXFOLDERVIEWLib.AppearanceEnum.Flat;

2
How do I change the control's foreground color

axExFolderView1.ForeColor = Color.FromArgb(255,0,0);

1
How do I change the control's background color

axExFolderView1.BackColor = Color.FromArgb(255,0,0);