This is a migrated thread and some comments may be shown as answers.

Transparent calendar background

1 Answer 109 Views
DatePicker
This is a migrated thread and some comments may be shown as answers.
This question is locked. New answers and comments are not allowed.
Cheri
Top achievements
Rank 1
Cheri asked on 14 Nov 2012, 06:44 PM
Hello,

I want my calendar background to not be transparent.  This worked before I upgraded to  2012.3.1106.1050.  It is back to being transparent again.  Any ideas?

Thanks,
Cheri

<UserControl.Resources>
 
    <Style x:Name="CalStyle" TargetType="telerik:RadCalendar">
        <Setter Property="Opacity" Value="100"/>
        <Setter Property="Background" Value="Silver" />
    </Style>
 
    <Style TargetType="telerik:RadDatePicker" x:Key="dtStyle">
        <Setter Property="InputMode" Value="DatePicker" />
        <Setter Property="Width" Value="200" />
        <Setter Property="Margin" Value="0 5" />
        <Setter Property="CalendarStyle" Value="{StaticResource CalStyle}"/>
    </Style>
</UserControl.Resources>
 
<Grid x:Name="LayoutRoot" >
 
    <StackPanel Orientation="Vertical">
           <telerik:RadDatePicker x:Name="dpExpiration" Style="{StaticResource dtStyle}"  Height="30"  />
           <Button Width="200" Height="100" Content="Button" Click="Button_Click" />
    </StackPanel>
  
 
</Grid>

1 Answer, 1 is accepted

Sort by
0
Yana
Telerik team
answered on 19 Nov 2012, 02:47 PM
Hello Cheri,

I've just answered to the other thread regarding this issue, please check it here.

Regards,
Yana
the Telerik team

Explore the entire Telerik portfolio by downloading Telerik DevCraft Ultimate.

Tags
DatePicker
Asked by
Cheri
Top achievements
Rank 1
Answers by
Yana
Telerik team
Share this question
or