I've the follwing enum:
public enum eFlexCreateMode
{
Man = 0,
Auto = 1
}
which I convert into a dictionary in order to use inside my wpf page (binded as combobox)
Dictionary<int, string> EnumCreateMode = Enum.GetValues(typeof(eFlexCreateMode)).Cast<eFlexCreateMode>().ToDictionary(t => (int)t, t => t.ToString());
<ComboBox Grid.Column="10" Width="70" ItemsSource="{Binding Path=EnumCreateMode, RelativeSource={RelativeSource Mode=FindAncestor, AncestorType=local:ViewerFlexConfig}}" SelectionChanged="Combo_SelectionChanged" DisplayMemberPath="Value" SelectedValuePath="Value" SelectedValue="{Binding ConfigObject.Create_Mode, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" />
Now I put the summary tag of each items of my enum and I would use it as tooltip for my combobox. Is it possible to achieve a task like this? There's no doc available