0
여기
내가 리소스 섹션리소스에서 MultiBindning을 선언하고 컨트롤에서 사용할 수 있습니까?
<UserControl.Resources>
<MultiBinding Converter="{StaticResource ResourceKey=EnableConference}"
x:Key="EnableifConferenceIsNotNullAndIsStarted">
<Binding Path="SelectedConference" Mode="OneWay"/>
<Binding Path="SelectedConference.ConferenceStatus" Mode="OneWay"/>
</MultiBinding>
</UserControl.Resources>
에 사용할 코드이고 나는 fallowing
<ComboBox><ComboBox.IsEnabled><StaticResource ResourceKey="EnableifConferenceIsNotNullAndIsStarted"></ComboBox.IsEnabled></ComboBox>
가이 허용하고 유효하지 않은 말을하지 않는 같은 컨트롤이를 사용하려면 사용
: 당신은뿐만 아니라 직접 콤보 상자의
IsEnabled
속성에 MultiBinding을 할당 할 수 –