update doc
This commit is contained in:
1 parent
2793d01768
commit
47124c1ff0
30 files changed
+271
-62
No files matched your search
@@ -1,5 +1,22 @@
|
||||
---
|
||||
title: 建设中
|
||||
title: ContextMenu 上下文菜单
|
||||
---
|
||||
|
||||
建设中
|
||||
# ContextMenuBaseStyle
|
||||
|
||||
上下文菜单默认样式,不推荐直接使用,应该始终被其它样式以BasedOn的方式使用。
|
||||
|
||||
{% note info no-icon %}
|
||||
用例:
|
||||
|
||||
{% code %}
|
||||
<ContextMenu ItemsSource="{Binding DataList}">
|
||||
<ContextMenu.ItemTemplate>
|
||||
<HierarchicalDataTemplate ItemsSource="{Binding DataList}">
|
||||
<TextBlock Text="{Binding Name}"/>
|
||||
</HierarchicalDataTemplate>
|
||||
</ContextMenu.ItemTemplate>
|
||||
</ContextMenu>
|
||||
{% endcode %}
|
||||

|
||||
{% endnote %}
|
||||
Reference in new issue
Block a user