1
我正在使用MaterialDesignInXAML作爲WPF應用程序。我有一個PopupBox,我想更改它的圖標。目前它默認爲DotsVertical
,我想把它作爲DotsHorizontal
。WPF MaterialDesignInXaml PopupBox更改圖標
我嘗試了以下,沒有運氣。
<materialDesign:PopupBox PlacementMode="BottomAndAlignRightEdges" StaysOpen="False">
<materialDesign:PopupBox.Content>
<materialDesign:PackIcon Kind="DotsHorizontal" />
</materialDesign:PopupBox.Content>
<StackPanel>
<TextBlock Text="Test1" />
<TextBlock Text="Test2" />
<TextBlock Text="Test3" />
</StackPanel>
</materialDesign:PopupBox>
在此先感謝!