<Window x:Class="MCCBVisibilityBug.MainWindow"
        xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
        xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
        xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
        xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
        xmlns:local="clr-namespace:MCCBVisibilityBug"
        xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
        mc:Ignorable="d"
        Title="MainWindow" Height="450" Width="800">
    <StackPanel VerticalAlignment="Center" Margin="10">
        <Button Width="100" Height="25" Click="btn_ToggleVisibility">Toggle Visibility</Button>
        <Button Width="100" Height="25" Click="btn_PopulateDropdown">Populate Dropdown</Button>
        <telerik:RadMultiColumnComboBox x:Name="cmbExample" Grid.Row="0" Grid.Column="1"  Width="150" Height="25" Margin="10"
                                                        NullText="Select a ..."
                                                        KeepDropDownOpen="False"
                                                        Visibility="Collapsed"
                                                        AutoCompleteMode="Search"
                                                        SelectionMode="Single"
                                                        DropDownWidth="330"
                                                        telerik:CornerRadiusHelper.ClipRadius="7"
                                                        DropDownMaxWidth="330"
                                                        DropDownMinHeight="30"
                                                        DropDownHeight="NaN"
                                                        DropDownMaxHeight="300"
                                                        CloseDropDownAfterSelectionInput="True"
                                                        >
            <telerik:RadMultiColumnComboBox.ItemsSourceProvider>
                <telerik:GridViewItemsSourceProvider AutoGenerateColumns="False">
                    <telerik:GridViewItemsSourceProvider.Columns>
                        <telerik:GridViewDataColumn Header="Num" DataMemberBinding="{Binding ExampleName}" IsReadOnly="True" IsSearchable="true"/>
                    </telerik:GridViewItemsSourceProvider.Columns>
                </telerik:GridViewItemsSourceProvider>
            </telerik:RadMultiColumnComboBox.ItemsSourceProvider>
        </telerik:RadMultiColumnComboBox>
    </StackPanel>
</Window>
