DS控件库 Win7链接列表框的仿Windows开始菜单样式

时间:2023-01-20 10:41:48

Win7链接列表框是依照Windows7的开始菜单开发的,同时进行了属性和功能的扩展。

效果图

DS控件库 Win7链接列表框的仿Windows开始菜单样式

项属性

DS控件库 Win7链接列表框的仿Windows开始菜单样式

控件属性

DS控件库 Win7链接列表框的仿Windows开始菜单样式

控件主要事件

点击项(Sender As Win7链接列表框, Itm As 链接项, e As MouseEventArgs)
双击项(Sender As Win7链接列表框, Itm As 链接项, e As MouseEventArgs)
移入项(Sender As Win7链接列表框, Itm As 链接项, e As MouseEventArgs)
移出项(Sender As Win7链接列表框, e As MouseEventArgs)
点击箭头区域(Sender As Win7链接列表框, Itm As 链接项, 箭头区域 As Rectangle)

  示例代码

Private Sub Win7链接列表框1_点击箭头区域(Sender As Win7链接列表框, Itm As Win7链接列表框.链接项, 箭头区域 As Rectangle) Handles Win7链接列表框1.点击箭头区域
ContextMenuStrip1.Show(Win7链接列表框1.PointToScreen(New Point(Itm.矩形区域.Right, Itm.矩形区域.Top) - New Point(3, 0)))
End Sub