Hi,
im using a TreeListView and would like to get an event, when the selection in a ComboboxColumn changes. I can't find any event helping me. Here is my XAML:
I use a ItemSourceBinding because the available Combobox is bound to a filtered List of EnumMemberViewModel build by EnumDataSource.FromType<FilterType>( );
I tried the following, that I found in the forum for RadGridView, but thta doesn't seem to work in TLV:
Any idea, how I could solve this?
Thanks
Hans
im using a TreeListView and would like to get an event, when the selection in a ComboboxColumn changes. I can't find any event helping me. Here is my XAML:
<telerik:RadTreeListView Name="rtlvQuery" Grid.Column="0" Grid.Row="0" IsDragDropEnabled="true" Margin="30" AutoGenerateColumns="False" > <telerik:RadTreeListView.ChildTableDefinitions> <telerik:TreeListViewTableDefinition ItemsSource="{Binding Filters}" /> </telerik:RadTreeListView.ChildTableDefinitions> <telerik:RadTreeListView.Columns> <telerik:GridViewDataColumn DataMemberBinding="{Binding IsActive}" Header="Active" /> <telerik:GridViewDataColumn DataMemberBinding="{Binding Name}" Header="Name" /> <telerik:GridViewDataColumn DataMemberBinding="{Binding Description}" Header="Description"/> <telerik:GridViewComboBoxColumn ItemsSourceBinding="{Binding AvailableFilterTypes}" DataMemberBinding="{Binding FilterType}" Header="Type" SelectedValueMemberPath="Value" DisplayMemberPath="DisplayName" /> <telerik:GridViewDataColumn DataMemberBinding="{Binding IsNegated}" Header="Negate"/> </telerik:RadTreeListView.Columns> </telerik:RadTreeListView>
I use a ItemSourceBinding because the available Combobox is bound to a filtered List of EnumMemberViewModel build by EnumDataSource.FromType<FilterType>( );
I tried the following, that I found in the forum for RadGridView, but thta doesn't seem to work in TLV:
<Grid.Resources> <Style TargetType="telerik:RadComboBox" > <EventSetter Event="SelectionChanged" Handler="ComboBox_SelectionChanged" /> </Style> </Grid.Resources>
Any idea, how I could solve this?
Thanks
Hans