3.8 Add toolbar sample

This commit is contained in:
PeterZhong 2024-10-12 12:04:41 +08:00
parent c57dac1eb3
commit 0c1ad7303f
2 changed files with 7 additions and 0 deletions

View File

@ -31,5 +31,12 @@
<Border BorderBrush="#000000" BorderThickness="1" HorizontalAlignment="Right" Height="24" Width="202" VerticalAlignment="Top" IsEnabled="True" Margin="580,210,0,0" Background="{DynamicResource {x:Static SystemColors.ControlBrushKey}}">
<ComboBox x:Name="BasemapChooser" HorizontalAlignment="Left" Height="24" Margin="9,-1,0,-1" VerticalAlignment="Top" Width="182" SelectionChanged="BasemapChooser_OnSelectionChanged" IsEnabled="True"/>
</Border>
<ToolBar HorizontalAlignment="Left" Height="29" Margin="10,27,0,0" VerticalAlignment="Top" Width="361">
<Button x:Name="Btn_Add_Shp" Height="32" Width="32" Click="Menu_OpenShp_Click">
<Button.Background>
<ImageBrush ImageSource="D:\01_Development\10_Visual_Studio_Project\GisDevelop\GisDevelop_Exp\GisDevelop_Exp\add.png"/>
</Button.Background>
</Button>
</ToolBar>
</Grid>
</Window>

BIN
GisDevelop_Exp/add.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.3 KiB