or
Regardless of how I attempt to set the visibility for it, I cannot get the FilteringDropDown control within the GridViewHeaderCell for a column bound to a custom type to appear in my RadGridView. Sample code below:
Public Class MyClass Public Property AnInteger As Integer Public Property ACustomObject As MyCustomObject End Class Public Shared myList As New List(Of MyClass) <telerik:RadGridView ItemsSource="{Binding myList}"> <telerik:RadGridView.Columns> <telerik:GridViewComboBoxColumn DataMemberBinding="{Binding ACustomObject}" ItemsSource="{Binding Source={StaticResource PredfinedListOfMyCustomObject}" DisplayMemberPath="Name" IsCustomSortingEnabled="True"> <telerik:GridViewComboBoxColumn.HeaderCellStyle> <Style TargetType="{x:Type telerik:GridViewHeaderCell}" BasedOn="{StaticResource {x:Type telerik:GridViewHeaderCell}}"> <Setter Property="FilteringUIVisibility" Value="Visible"/> </Style> </telerik:GridViewComboBoxColumn.HeaderCellStyle> <telerik:GridViewComboBoxColumn.FilteringControl> <local:CustomFilter/> </telerik:GridViewComboBoxColumn.FilteringControl> </telerik:GridViewComboBoxColumn> </telerik:RadGridView.Columns> </telerik:RadGridView>CommandBindings.Add(
new CommandBinding(ApplicationCommands.Paste, (sender, e) =>
{
double inputValue;
bool isInputNumber = double.TryParse(Clipboard.GetText(), out inputValue);
this.Value = inputValue;
e.Handled = true;
}));