Support
Joined: 18 Jul 2005 Posts: 731
|
Posted: Tue Aug 26, 2008 9:30 am Post subject: HOWTO: Disable display of overlay icons |
|
|
Some node items such as shortcuts and network shares display a small overlay icon on top of the normal icon. To disable display of these overlay icons, use the OverlayIconIndex property in the NodeAdd event as follows :
[C#]
private void fldrView_NodeAdd(object sender, LogicNP.FolderViewControl.FolderViewEventArgs e)
{
e.Node.OverlayIconIndex = OverlayIcons.None;
}
[VB.Net]
Private Sub fldrView_NodeAdd(ByVal sender As Object, ByVal e As LogicNP.FolderViewControl.FolderViewEventArgs) Handles fldrView.NodeAdd
e.Node.OverlayIconIndex = OverlayIcons.None
End Sub
Note:
You can also display a different (non-default) overlay icon using the OverlayIconIndex property. |
|