This is a migrated thread and some comments may be shown as answers.

Disable RadcomboItems MVVM

0 Answers 11 Views
ComboBox
This is a migrated thread and some comments may be shown as answers.
Ubuntu
Top achievements
Rank 1
Ubuntu asked on 18 Sep 2012, 08:03 PM
Dear All,
    I have a RadComboBox as follows:
    
<telerik:RadComboBox x:Name="cbxTaxType" IsEditable="True" IsReadOnly="True" Margin="0,0,0,5" Grid.Row="5" Grid.Column="1" Grid.ColumnSpan="3"
    ItemsSource="{Binding TaxType,Mode=TwoWay,NotifyOnValidationError=True,ValidatesOnExceptions=True}"
    SelectedValue="{Binding Path=CurrentTaxpayer.TaxType, Mode=TwoWay,NotifyOnValidationError=True,ValidatesOnExceptions=True}"
    SelectedValuePath="ID"
    IsEnabled="{Binding Path=IsLocal, Converter={StaticResource intToBooleanConverter}, ConverterParameter=false}"
    DisplayMemberPath="TaxTypeAr"/>

    I need to disable a specific value represented by RadComboBoxItem depends on specific condition.
    How is this possible using MVVM.

Appreciate any help.

No answers yet. Maybe you can help?

Tags
ComboBox
Asked by
Ubuntu
Top achievements
Rank 1
Share this question
or