Experimental: this API is experimental and might be changed or removed in the future.

DropdownMenu.AppendSeparator

切换到手册
public void AppendSeparator (string subMenuPath);

参数

subMenuPath将添加分隔线的子菜单路径。路径组件由正斜杠(“/”)分隔。

描述

在菜单中添加一条分隔线。分隔线添加在当前项目列表末尾。