mounika madhavaram

mounika madhavaram

  • NA
  • 42
  • 10.7k

When i select comboxvalue othercombbox, checkbox should hide

Apr 29 2018 11:33 PM
using wpf mvvm When i select a particualr comboxvalue i should hide other combo box costdistributeto code and checkbox IsRepeatBasedOnNumberOfJobs..
 
HorizontalAlignment="Left" HorizontalContentAlignment="Left" SelectedValuePath="ID" DisplayMemberPath="Value"
ItemsSource="{Binding LstEnumTypes,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}"
SelectedItem="{Binding SelectedType,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}"
SelectedValue="{Binding SelectedItem.EnumCostingServiceTypeId,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}"/>
Grid.Column="0" Text="{x:Static displayText:CommonStrings.CostDistributeToCode_}" VerticalAlignment="Center" HorizontalAlignment="Left"/>
Grid.Column="1" VerticalAlignment="Center" Width="220" IsReadOnly="False" TabIndex="2"
HorizontalAlignment="Left" HorizontalContentAlignment="Left" SelectedValuePath="Name" DisplayMemberPath="Name"
ItemsSource="{Binding LstCodes,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}"
IsEnabled="{Binding IsComboEnable,UpdateSourceTrigger=PropertyChanged,Mode=TwoWay}"
SelectedItem="{Binding Local,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}"
SelectedValue="{Binding SelectedItem.CostDistributeToCode,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}"/>
IsEnabled="{Binding IsEnable,UpdateSourceTrigger=PropertyChanged,Mode=TwoWay}"
Visibility="{Binding IsDisable,UpdateSourceTrigger=PropertyChanged,Mode=TwoWay}"
IsChecked="{Binding SelectedItem.IsRepeatBasedOnNumberOfJobs,Mode=TwoWay,UpdateSourceTrigger=PropertyChanged}"/>

Answers (1)