Microsoft MVP성태의 닷넷 이야기
안녕하세요 WPF Binding에서요 [링크 복사], [링크+제목 복사]
조회: 6626
글쓴 사람
민성 (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로 우회해서 해결하는 정도입니다.
정성태

1  2  3  4  [5]  6  7  8  9  10  11  12  13  14  15  ...
NoWriterDateCnt.TitleFile(s)
5828김재영2/19/20233124장기적으로는 this 구문을 안쓰는게 맞을까요? [2]
5827lee2/18/20233042파이썬 설치 오류 질문입니다 [1]
5826Syong2/14/20233619Socket 관련 Leak (OverlappedAsyncResult, OverlappedData) 관련 문의 [7]파일 다운로드1
5825박성원2/14/20233195Listview 컨트롤의 화면 전환 시 갱신 속도 [1]
5823검은콩2/13/20233797catch(Exception ex)의 line번호를 쉽게 알 수 없는지요? [7]
5822김지우2/11/20233072책을 보면서 sync, async 이해가 되지 않는 부분이 있습니다. [5]파일 다운로드2
5821검은콩2/9/20233095Async 신뢰성과 소켓데이터 [4]
5820차가워2/8/20233161다른 프로세스 실행 후 포커스 가져오기 [3]
5819취준생2/7/20233314WPF 관련 실무가 궁금합니다. [3]
5818윤길2/7/20232765ObservableCollection 에서 INotifyPropertyChanged 구현해야하나요? [2]
5817흰털너부리2/7/20232902배포 시 winform 실행 콘솔로그 보는 방법 [1]
5816흰털너부리2/6/20232715.net core json array validation 질문 드립니다. [1]
5815김재영2/6/20232838종단간 암호화에 대해 시나리오인데 타당한 시나리오일까요? [2]
5814한예지 donator2/6/20233169decompile? [9]
5813김재영2/5/20233071openssl genrsa 2048시 키 생성이 다르게 됩니다. - 파일첨부 [4]파일 다운로드1
5812김재영2/5/20233353openssl genrsa 2048시 키 생성이 다르게 됩니다. [2]
5811치르바2/3/20233181MiniDumpWriteDump API로 덤프수집을 했는데요.. [3]
5810이건우1/31/20233288윈도우서비스를 통한 웹통신관련 질문입니다 [3]
5809이상훈1/31/20233727다채널 영상 디스플레이어 개발 관련 질문입니다. [3]
5808근우1/30/20233403WPF 에서 UserControl 과 ControlTemplate 의 차이점은 무엇인가요? [6]
5807궁금맨1/28/20234557C# 10 책에 나온 예제의 결과가 제 컴에서는 좀 달라서요. 이유가 궁금합니다. [1]
5806스레드1/25/20233074총정리 - 다양한 스레드들 [초안] [1]파일 다운로드1
5805어웨이트1/25/20232940Taskcontinuewith vs Async/Await [2]파일 다운로드1
5804나이많은...1/25/20232796MS의 Dependency Injection(DI)에 AddSingleton으로 등록된 객체의 Event 등록후 사용시 앱 종료시 별도로 Event를 해지해야 하나요? [2]
5803dssc...1/24/20233028드라이브 문자를 통해서 물리 디스크 명칭을 알아내고 싶습니다. [1]
5802모바일앱1/22/20232900XAMARINE vs Android Studio [7]
1  2  3  4  [5]  6  7  8  9  10  11  12  13  14  15  ...