WPF中給Button加上圖標和文字

要實現在Button裏面加入圖標或者圖形以及文字,我們就需要在Button裏面用一個WrapPanel控件,這個WrapPanel控件會把我們的圖標或者文字進行包裹,並顯示出來。 Xaml: <Button HorizontalAlignment="Left" Margin="222,151,0,0" VerticalAlignment="Top" Width="259" Heig
相關文章
相關標籤/搜索