.NET Logo
Welcome Guest Search | Active Topics | Members | Log In | Register

จะเปลี่ยน xpath ของ displaymemberbinding ใน c#ยังไงครับ Options · View
thetoppy
Posted: Monday, April 21, 2008 10:29:36 PM
Rank: มือฝึกหัด
Groups: Member

Joined: 4/16/2008
Posts: 3

 

 

คือผมเขียนใน xaml แล้วทีนี้ต้องการให้ไป link กับ method เพื่อเปลี่ยนค่า xpath ครับ

รู้แต่ว่าเปลี่ยน path ธรรมดายังไง แต่ xpath ไม่เป็นครับ

<

 

GridViewColumn Header="Sender" DisplayMemberBinding= "{Binding XPath=\sender}"

 

Width

="auto"/>

 

 

อยากเปลี่ยน xpath ของตัวนี้น่ะครับผมลองด้วย

 

 

 

 

 

idName.DisplayMemberBinding = new Binding("/sender/status"); มันไม่ได้นะครับไม่ทราบต้องใช้อะไรครับ

 

 

new

Users browsing this topic
Guest


Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Main Forum RSS : RSS

YAFVision Theme Created by Jaben Cargman (Tiny Gecko)
Powered by Yet Another Forum.net version 1.9.1.8 (NET v2.0) - 3/29/2008
Copyright © 2003-2008 Yet Another Forum.net. All rights reserved.


Sponsored by