or
<
telerik:OrientedTimeRulerItemStyleSelector
x:Key
=
"TimeRulerItemStyleSelector"
>
<
telerik:OrientedTimeRulerItemStyleSelector.MonthViewTickStyle
>
<
Style
TargetType
=
"telerik:TimeRulerItem"
>
<
Setter
Property
=
"Background"
Value
=
"Blue"
/>
</
Style
>
</
telerik:OrientedTimeRulerItemStyleSelector.MonthViewTickStyle
>
</
telerik:OrientedTimeRulerItemStyleSelector
>
The XAML of ScheduleView:
<
telerik:RadScheduleView
Grid.Row
=
"0"
Name
=
"RSV"
AppointmentsSource
=
"{Binding Appointments}"
VisibleRangeChanged
=
"RSV_VisibleRangeChanged"
Loaded
=
"RSV_Loaded"
TimeRulerItemStyleSelector
=
"{StaticResource ResourceKey=TimeRulerItemStyleSelector}"
>
<
telerik:RadScheduleView.ViewDefinitions
>
<
bo_calendar:BiWeeklyViewDefinition
CalendarWeekRule
=
"FirstFullWeek"
FirstDayOfWeek
=
"Monday"
/>
<
telerik:MonthViewDefinition
CalendarWeekRule
=
"FirstFullWeek"
FirstDayOfWeek
=
"Monday"
/>
</
telerik:RadScheduleView.ViewDefinitions
>
</
telerik:RadScheduleView
>
Any idea?
Thanks a lot!
Frankie
<Style x:Key="RadComboBoxItemStyle" TargetType="{x:Type telerik:RadComboBoxItem}"> <Setter Property="MinHeight" Value="19" /> <Setter Property="Margin" Value="0,-1,0,0" /> <Setter Property="BorderThickness" Value="1" /> <Setter Property="BorderBrush" Value="Transparent" /> <Setter Property="Background" Value="Transparent" /> <Setter Property="Padding" Value="3,2" /> <Setter Property="HorizontalContentAlignment" Value="Stretch" /> <Setter Property="VerticalContentAlignment" Value="Center" /> <Setter Property="FocusVisualStyle" Value="{x:Null}" /> <Setter Property="Template"> <Setter.Value> <ControlTemplate TargetType="{x:Type telerik:RadComboBoxItem}"> <Border BorderBrush="{TemplateBinding BorderBrush}" BorderThickness="{TemplateBinding BorderThickness}" Background="{TemplateBinding Background}"> <VisualStateManager.VisualStateGroups> <VisualStateGroup x:Name="CommonStates"> <VisualState x:Name="Normal" /> <VisualState x:Name="MouseOver"> <Storyboard> <ObjectAnimationUsingKeyFrames Storyboard.TargetProperty="Visibility" Storyboard.TargetName="HighlightVisual"> <DiscreteObjectKeyFrame KeyTime="0"> <DiscreteObjectKeyFrame.Value> <Visibility>Visible</Visibility> </DiscreteObjectKeyFrame.Value> </DiscreteObjectKeyFrame> </ObjectAnimationUsingKeyFrames> </Storyboard> </VisualState> <VisualState x:Name="Disabled"> <Storyboard> <DoubleAnimationUsingKeyFrames Storyboard.TargetProperty="Opacity" Storyboard.TargetName="Content"> <DiscreteDoubleKeyFrame KeyTime="0" Value="0.33" /> </DoubleAnimationUsingKeyFrames> </Storyboard> </VisualState> </VisualStateGroup> </VisualStateManager.VisualStateGroups> <Grid> <Border x:Name="HighlightVisual" BorderBrush="{StaticResource ControlFocusedBrush}" BorderThickness="1" CornerRadius="0" Visibility="Collapsed"> <Border.Background> <LinearGradientBrush EndPoint="0.5,1" StartPoint="0.5,0"> <GradientStop Color="#FFFFFBDA" Offset="0" /> <GradientStop Color="#FFFFFBA3" Offset="1" /> </LinearGradientBrush> </Border.Background> <Border BorderBrush="White" BorderThickness="1" CornerRadius="0" /> </Border> <ContentPresenter x:Name="Content" ContentTemplate="{TemplateBinding ContentTemplate}" Content="{TemplateBinding Content}" ContentStringFormat="{TemplateBinding ContentStringFormat}" HorizontalAlignment="{TemplateBinding HorizontalContentAlignment}" Margin="{TemplateBinding Padding}" VerticalAlignment="{TemplateBinding VerticalContentAlignment}" /> </Grid> </Border> </ControlTemplate> </Setter.Value> </Setter> </Style>
Hello
Is there option add new rows by default
When the users get to the end of the row Like in SQL?
Best regards
Ehud
I just installed Q2 2012 and now the diagram doesnt save the background of the shapes. The background was properly saved in the previous version. I have included the diagram config and the output file. the docs say Background is automatically saved but I am not getting it. I tried using the serialize/deserialize methods but that just gives me a blank background for the shapes. How can I get the background <tk:RadDiagram x:Name="diagram" HorizontalAlignment="Stretch" BorderThickness="0" Margin="5,2,2,2" tk:DiagramSurface.IsVirtualizing="True" AllowCopy="False" IsPanEnabled="False" IsZoomEnabled="False" IsEditable="False" AllowCut="False" AllowDelete="False" AllowPaste="False" IsConnectorsManipulationEnabled="False" IsBackgroundSurfaceVisible="False" Loaded="diagram_Loaded" SizeChanged="diagram_SizeChanged" ShapeSerialized="diagram_ShapeSerialized" ShapeDeserialized="diagram_ShapeDeserialized" Drag="diagram_Drag" Resize="diagram_Resize" Rotate="diagram_Rotate" ShapeClicked="diagram_ShapeClicked" > </tk:RadDiagram><?xml version="1.0" encoding="utf-8"?>