Microsoft MVP성태의 닷넷 이야기
안녕하세요 WPF Binding에서요 [링크 복사], [링크+제목 복사],
조회: 14854
글쓴 사람
민성 (minyy1 at hanmail.net)
홈페이지
첨부 파일
 


        <ListBox x:Name="lstCust" HorizontalContentAlignment="Stretch" SelectionChanged="lstCust_SelectionChanged" SelectionMode="Extended">
            <ListBox.ItemTemplate>
                <DataTemplate>
                    <Grid Margin="0,2" >
                        <Grid.ColumnDefinitions>
                            <ColumnDefinition Width="Auto"/>
                            <ColumnDefinition Width="Auto" />
                            <ColumnDefinition Width="Auto" />
                            <ColumnDefinition Width="*" />

                        </Grid.ColumnDefinitions>

                        <TextBlock Text="{Binding strCustName}" Grid.Column="0"></TextBlock>
                        <TextBlock Text="{Binding strCustTel}" Grid.Column="1" Margin="10,0,10,0"></TextBlock>
                        <Image Source="http://www.hhhh.com/images/btn/{Binding ImgUrl}" Height="25" Width="40" Grid.Column="2"/>
                         ==>여기서 Source="{Binding ImgUrl}" 이렇게만 쓰면되는데 중간에 글자열이 들어가면 Binding이 안되내요
                           될수 있는 방법이 있을까요? 감사합니다~
                        <ProgressBar Grid.Column="3" Minimum="0" Maximum="100" Value="{Binding intPoint}" HorizontalAlignment="Stretch" />
                    </Grid>
                    
                </DataTemplate>
                
            </ListBox.ItemTemplate>


        </ListBox>








[최초 등록일: ]
[최종 수정일: 6/19/2020]


비밀번호

댓글 작성자
 



2020-06-19 07시03분
없습니다. 굳이 쓰자면 Converter로 우회해서 해결하는 정도입니다.
정성태

... 61  62  63  64  65  [66]  67  68  69  70  71  72  73  74  75  ...
NoWriterDateCnt.TitleFile(s)
957임동찬2/21/201121295WCF channel faulted 관련 [2]
956윤용한2/18/201125006WaitHandle.WaitOne 과 Stopwatch에 관한 질문 [3]
955최광욱2/17/201121482TFS 에서 소스 영구 제거 방법 [1]
954한장우2/16/201119085atl activeX 질문이요~ [1]
952박용운2/16/201120040IE8.0에서 BHO [1]
953박용운2/16/201119876    답변글 [답변]: IE8.0에서 BHO
951임동찬2/11/201120238WCF Service Reference [1]
950이성환2/9/201121915Windows application 프로젝트를 참조 했을 때 생성되는 실행파일을 직접 실행 불가능하도록 하고 싶습니다. [6]파일 다운로드1
947김순조1/24/201120317.NET based Com에서 Native ActiveX로 이벤트 보내기?? [2]파일 다운로드1
943김기룡1/3/201123773닷넷 에러시 조치사항관련... [2]
942김기룡12/27/201018805Thread 안정성 관련 문의 드립니다. [2]
941최광욱12/20/201018572정성태님 올리신 글중에 [1]
940최광욱12/20/201020583Assembly Unloading 관련해서 [2]
939최광욱12/20/201018551IIS 로그 읽기 [1]
938날쌘돌이12/14/201020227자바로 asp.net 인증하기 [3]
935김기룡12/13/201030657c#에서 c++로 개발된 dll에 byte[] 전달 관련하여 문의 드립니다. [6]
934임동찬12/7/201017959System.Reflection.Assembly.GetTypes() 메서드에 대해 [1]
929김준호12/2/201017900안녕하세요 비주얼베이직 2005 닷넷 관련 문의입니다 [1]
928김준호11/30/201018394안녕하세요 비주얼베이직 2005 닷넷 관련 문의입니다 [1]파일 다운로드1
927임동찬11/30/201020019Windows\\Temp 폴더의 이름모를 .tmp 파일들에 대해서 [1]
926이승규11/26/201039976IP접속 시도시 ORA-12504 에러 [1]
925임동찬11/11/201017324다른 프로그램의 컨트롤 건드려보기_추가질문(2) [1]
924임동찬11/10/201018091다른 프로그램의 컨트롤 건드려보기_추가질문 [1]
923임동찬11/9/201020711다른 프로그램의 컨트롤 건드려보기 [1]
922박태근11/2/201019314html5의 shape파일 관련 [1]파일 다운로드1
921박태근11/1/201019951DataTable 의 Binary변환! [1]
... 61  62  63  64  65  [66]  67  68  69  70  71  72  73  74  75  ...