When I scroll combobox (not using up-down arrow, but the bar in combobox Vertical Scrollbar).
The combobox item cannot be selected using mouse click and not closing if I click outside combobox area.
<Grid.DataContext> |
<XmlDataProvider x:Name="objectDataProvider" Source="People.xml" XPath="/People/Person" /> |
</Grid.DataContext> |
<telerik:RadCarousel Margin="12,30,12,34" Name="radCarousel1" > |
<telerik:RadCarousel.ContextMenu> |
<ContextMenu AllowDrop="True" HasDropShadow="True" IsTabStop="True" /> |
</telerik:RadCarousel.ContextMenu> |
<Image Source="{Binding XPath=ImageFile}"></Image> |
</telerik:RadCarousel> |
i would appreciate any help, thanks in advance.
var window = new RadWindow
{
WindowStartupLocation =
WindowStartupLocation.CenterOwner,
CanClose =
true,
CanMove =
true,
ResizeMode =
ResizeMode.NoResize,
Content =
new UnhandledError(),
Height = 300,
Width = 500
};
window.ShowDialog();
The problem is that the UserControl doesn't get displayed at all in the content.
The UserControl is pure XAML as:
<
UserControl x:Class="PCSWeb.WPFShell.Views.UnhandledError"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Height="300" Width="300" Name="window" Loaded="window_Loaded" VerticalAlignment="Stretch" HorizontalAlignment="Stretch">
<Grid Background="AliceBlue" Height="Auto" Width="Auto">
<Grid.RowDefinitions>
<RowDefinition />
<RowDefinition />
</Grid.RowDefinitions>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*" />
</Grid.ColumnDefinitions>
<Border Grid.Row="0" BorderBrush="#feca00" CornerRadius="0,10,20,40"
BorderThickness="2" Height="Auto">
<StackPanel>
<TextBlock Text="Error">adafdfasdf</TextBlock>
</StackPanel>
</Border>
</Grid>
</
UserControl>