Dear,
I met a problem when using RadCoverFlow control. That is I can't set invisible for the Image in the RadCoverFlow control.
Here is my sample :
xmlns:telerikNavigation="clr-namespace:Telerik.Windows.Controls;assembly=Telerik.Windows.Controls.Navigation"
<Grid x:Name="LayoutRoot" Background="Ivory">
<Grid.RowDefinitions>
<RowDefinition Height="Auto"></RowDefinition>
</Grid.RowDefinitions>
<StackPanel Grid.Row="0">
<telerikNavigation:RadCoverFlow x:Name="coverFlow" CameraY="-80" ItemMaxHeight="160"
SelectedIndex="0" CenterOffsetY="50" SelectedItemMouseUp="coverFlow_SelectedItemMouseUp">
<Image x:Name="imgOrgan" />
<Image x:Name="imgAcc"></Image>
<Image x:Name="imgAuthen" ></Image>
</telerikNavigation:RadCoverFlow>
</StackPanel>
</Grid>
In Code Behind, set invisible the Image control like that :
public DashBoard()
{
InitializeComponent();
//that function set image source for image control
SetImage();
imgAcc.Visibility = Visibility.Collapsed;
imgAuthen.Visibility = Visibility.Collapsed;
}
Result:
All Image control is displayed(imgAcc and imgAuthen is not collapsed althought I set it to collapsed status by code behind).
Expected result are :
- The image imgOrgan is displayed
- The Image imgAcc,imgAuthen is not displayed
Could you help me solve this problem? thank you for your help
Best regards,
Huy