I am facing a problem with DataBinding in WPF::::
The below code is working:
<TextBox Text="{Binding ProcessStepBlock.ProcessStep[2].ProcessDescription}"></TextBox>
<TextBox Text="{Binding ProcessStepBlock.SelectedIndex}" ></TextBox>
The below code is not working:It gives me a binding error BindingExpression path error: '[ ]' property not found on 'object' ''ObservableCollectionEx`1'
<TextBox Text="{Binding ProcessStepBlock.ProcessStep[ProcessStepBlock.SelectedIndex].ProcessDescription}"></TextBox>
<TextBox Text="{Binding ProcessStepBlock.SelectedIndex}" ></TextBox>
Please help!!!