Autor Beitrag
kostonstyle
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 94



BeitragVerfasst: Fr 15.01.10 09:53 
Hallo miteinander
habe eine ListView Liste erzeugt, nun möchte ich, das die Benutzern nicht den GridView nicht verschieben darf. Was Eigenschaft gibt es dafür?
ausblenden XML-Daten
1:
2:
3:
4:
5:
6:
7:
8:
<ListView Margin="0,0,81,42" Name="listView1">
            <ListView.View>
                <GridView>
                    <GridViewColumn Width="35" Header="ID" />
                    <GridViewColumn Width="120" Header="File extension" />
                </GridView>
            </ListView.View>
        </ListView>


Moderiert von user profile iconChristian S.: C#- durch Xml-Tags ersetzt
Moderiert von user profile iconChristian S.: Topic aus WinForms verschoben am Fr 15.01.2010 um 09:04
Kha
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 3803
Erhaltene Danke: 176

Arch Linux
Python, C, C++ (vim)
BeitragVerfasst: Fr 15.01.10 19:54 
Einen schnellen Weg sehe ich nicht, dann eben so: Nimm das Template des GridViewHeaders aus Blend (oder hier) und hau das Thumb-Element ("PART_HeaderGripper") raus. GridView sollte sich daran nicht weiter stören.

_________________
>λ=