The Index and value are displayed in the DropDown, but only the value is displayed in the ComboBox. How can I display the Index even when the DropDown is closed?
<ComboBox ItemsSource="{Binding DoubleList}" AlternationCount="{x:Static system:Int32.MaxValue}">
<ComboBox.ItemTemplate>
<DataTemplate>
<TextBlock>
<Run Text="{Binding (ItemsControl.AlternationIndex), Mode=OneWay, RelativeSource={RelativeSource AncestorType=ComboBoxItem}, StringFormat={}{0} :"/>
<Run Text="{Binding ., StringFormat={}{0:F4}}"/>
</TextBlock>
</DataTemplate>
</ComboBox.ItemTemplate>
</ComboBox>