I try to run this short code sample but I have an error "There is no source code available for the current location". When I press the "start" button of VS2008, I have a box which ask me to point to RadCalendar.cs (???). If I press "cancel" I have the "There is no source code ...." message
Here is my code
<
Window x:Class="Window1"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
Title="Window1" Height="299" Width="663" xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation">
<Grid>
<telerik:RadCalendar x:Name="calendar" IsTodayHighlighted="true"
SelectionChanged="OnCalendarSelectionChanged" SelectionMode="Extended" Columns="3"
ViewsHeaderVisibility="Visible" Culture="fr-FR" Margin="0,0,0,79">
</telerik:RadCalendar>
</Grid>
</
Window>
I have an official version WPF Q1 (14th april).
Hi,
I have used RadCarouselPanel with Button (Images used in the ex.) control as items as well appllied style to button. The problem is I am not getting scroll effect while clicking on button as demo shows whereas it shows as Carousel effect on the form.
<telerik:RadCarouselPanel x:Name="Panel1" VerticalAlignment="Center"
IsOpacityEnabled="True" IsScalingEnabled="True" IsPathVisible="True"
PathPadding="50" CanHorizontallyScroll="True" CanVerticallyScroll="True" >
<Button Style="{DynamicResource StudyMode}">Menu 1</Button>
<Button Style="{DynamicResource StudyMode}">Menu 2</Button>
<Button Style="{DynamicResource StudyMode}">Menu 3</Button>
<Button Style="{DynamicResource StudyMode}">Menu 4</Button>
<Button Style="{DynamicResource StudyMode}">Menu 5</Button>
<Button Style="{DynamicResource StudyMode}">Menu 6</Button>
</telerik:RadCarouselPanel>
I can not understand what is missing. I could not find any method / way to get it work.
Thanks in advance for any help
| <Style x:Key="{x:Type telerik:GridViewIndicatorCell}" TargetType="telerik:GridViewIndicatorCell"> |
| <Setter Property="Background" Value="{StaticResource GridViewHeaderCellBackgroundBrush}" /> |
| </Style> |
2) How can I change the height of the columns header? This is not working correctly:
| <Style TargetType="telerik:GridViewHeaderCell"> |
| <Setter Property="Height" Value="50" /> |
| </Style> |
3) I've tried this:
| <Style TargetType="{x:Type telerik:GridViewCell}"> |
| <Setter Property="OverridesDefaultStyle" Value="False" /> |
| <Setter Property="Validation.ErrorTemplate" Value="{x:Null}" /> |
| <Style.Triggers> |
| <Trigger Property="Validation.HasError" Value="True"> |
| <Setter Property="BorderThickness" Value="1" /> |
| <Setter Property="BorderBrush" Value="Red" /> |
| <Setter Property="ToolTip" Value="{Binding RelativeSource= {RelativeSource Self}, Path=(Validation.Errors)[0].ErrorContent}" /> |
| </Trigger> |
| </Style.Triggers> |
| </Style> |
but this column doesn't work anymore after that (Cell is empty):
| <telerik:GridViewColumn> |
| <telerik:GridViewColumn.CellStyle> |
| <Style TargetType="{x:Type telerik:GridViewCell}"> |
| <Setter Property="Template"> |
| <Setter.Value> |
| <ControlTemplate TargetType="{x:Type telerik:GridViewCell}"> |
| <Border Background="{TemplateBinding Background}" |
| BorderBrush="{TemplateBinding BorderBrush}" |
| BorderThickness="{TemplateBinding BorderThickness}"> |
| <Button Style="{StaticResource GridImageButton}" |
| Click="Delete_Click"> |
| <Image Source="{StaticResource Delete}" /> |
| </Button> |
| </Border> |
| </ControlTemplate> |
| </Setter.Value> |
| </Setter> |
| </Style> |
| </telerik:GridViewColumn.CellStyle> |
| </telerik:GridViewColumn> |
Do you know why?
Thanks,
Xavier.