我意識到這是一個較舊的職位,但以防萬一有人在尋找一個答案,以同樣的問題...
你應該能夠簡單地設置Width屬性。這是直接從我正在從事的項目拉:
<ListView.View>
<GridView>
<GridViewColumn Width="50" Header="Id" DisplayMemberBinding="{Binding Id}" />
<GridViewColumn Width="135" Header="First Name" DisplayMemberBinding="{Binding FirstName}" />
<GridViewColumn Width="165" Header="Last Name" DisplayMemberBinding="{Binding LastName}" />
<GridViewColumn Width="100" Header="Passcode" DisplayMemberBinding="{Binding Passcode}" />
<GridViewColumn Width="125" Header="Type" DisplayMemberBinding="{Binding AccountType}" />
</GridView>
</ListView.View>
這對我來說工作得很好。
嗨,請幫忙:) – user294636 2010-07-26 14:45:17