You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
26 lines
1.7 KiB
26 lines
1.7 KiB
<UserControl x:Class="Kingo.Plugin.MapView.UCWorkspace" |
|
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation" |
|
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml" |
|
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006" |
|
xmlns:d="http://schemas.microsoft.com/expression/blend/2008" |
|
xmlns:local="clr-namespace:Kingo.Plugin.MapView" |
|
xmlns:dxg="http://schemas.devexpress.com/winfx/2008/xaml/grid" |
|
mc:Ignorable="d" |
|
d:DesignHeight="400" d:DesignWidth="400"> |
|
<Grid> |
|
<dxg:GridControl x:Name="gcWorkspace" ShowBorder="False" AutoGenerateColumns="AddNew" |
|
AutoGeneratedColumns="gcWorkspace_AutoGeneratedColumns" |
|
ScrollViewer.CanContentScroll="True" ScrollViewer.HorizontalScrollBarVisibility="Visible"> |
|
<dxg:GridControl.View> |
|
<dxg:TreeListView x:Name="tlvWorkspace" KeyFieldName="ID" ParentFieldName="ParentID" ShowIndicator="False" ShowHorizontalLines="False" |
|
PreviewMouseDoubleClick="tlvWorkspace_PreviewMouseDoubleClick" ShowNodeImages="True" |
|
HorizontalScrollbarVisibility="Visible" VerticalScrollbarVisibility="Auto" ScrollViewer.CanContentScroll="True" ScrollViewer.HorizontalScrollBarVisibility="Visible" |
|
ExpandNodesOnFiltering="True"> |
|
<dxg:TreeListView.NodeImageSelector> |
|
<local:ObjectTypeImageSelector/> |
|
</dxg:TreeListView.NodeImageSelector> |
|
</dxg:TreeListView> |
|
</dxg:GridControl.View> |
|
</dxg:GridControl> |
|
</Grid> |
|
</UserControl>
|
|
|