1.同時顯示文字和圖標
DisplayStyle 屬性設爲 ImageAndText (DisplayStyle屬性用來設置圖標的顯示狀態爲 圖片、文字、圖片和文字 )
ImageRelation 屬性設爲 ImageBeforeText ( TextImageRelation屬性 設置文字和圖片的位置關係)
ImageAlign 屬性更改圖片位置
TextAlign 屬性更改文字位置
image屬性:設置按鈕圖標
Text屬性: 設置顯示的文字
2.只顯示文字
DisplayStyle 屬性設爲 Text
TextAlign 屬性更改文字位置
Text屬性: 設置顯示的文字
3.只顯示圖標
DisplayStyle 屬性設爲 Image
ImageAlign 屬性更改圖片位置
image屬性:設置按鈕圖標