or
<telerik:RadGridView x:Name="GridViewDetailAC" AutoGenerateColumns="False" AlternateRowBackground="White" AlternationCount="2" AllowDrop="True" CanUserSelect="True" CanUserDeleteRows="False" CanUserInsertRows="False" CanUserResizeColumns="True" EditTriggers="None" Grid.Row="1" Grid.Column="0" Grid.ColumnSpan="4" HorizontalGridLinesBrush="SlateGray" ItemsSource="{Binding XXXX}" RowIndicatorVisibility="Collapsed" RowHeight="26" SelectedItem="{Binding Path=SelectedXXXX, NotifyOnSourceUpdated=True, UpdateSourceTrigger=PropertyChanged}" SelectionMode="Single" SelectionUnit="FullRow" ShowColumnFooters="False" ShowGroupPanel="False" ShowColumnHeaders="True" VerticalGridLinesBrush="Transparent"> <telerik:RadGridView.Columns> <telerik:GridViewDataColumn Header="Vendor" Width="Auto" TextAlignment="Left" IsVisible="{Binding ElementName=ckbVendorVisi, Path=IsChecked, FallbackValue=0}"> <telerik:GridViewDataColumn.CellTemplate> <DataTemplate> <DockPanel> <Label Content="{Binding Path=LV_Name, FallbackValue=''}" Visibility="{Binding Path=NotNewRecord, FallbackValue=0, Converter={StaticResource BoolVisiRevConv2}}"/> <TextBox Text="{Binding Path=LV_Name, FallbackValue=''}" Visibility="{Binding Path=NotNewRecord, FallbackValue=0, Converter={StaticResource BoolVisiConv2}}"/> </DockPanel> </DataTemplate> </telerik:GridViewDataColumn.CellTemplate></telerik:GridViewDataColumn>System.Windows.Data Information: 41 : BindingExpression path error: 'LV_Name' property not found for 'object' because data item is null. This could happen because the data provider has not produced any data yet. BindingExpression:Path=LV_Name; DataItem=null; target element is 'Label' (Name=''); target property is 'Content' (type 'Object')System.Windows.Data Information: 20 : BindingExpression cannot retrieve value due to missing information. BindingExpression:Path=LV_Name; DataItem=null; target element is 'Label' (Name=''); target property is 'Content' (type 'Object')System.Windows.Data Information: 21 : BindingExpression cannot retrieve value from null data item. This could happen when binding is detached or when binding to a Nullable type that has no value. BindingExpression:Path=LV_Name; DataItem=null; target element is 'Label' (Name=''); target property is 'Content' (type 'Object')System.Windows.Data Information: 41 : BindingExpression path error: 'NotNewRecord' property not found for 'object' because data item is null. This could happen because the data provider has not produced any data yet. BindingExpression:Path=NotNewRecord; DataItem=null; target element is 'Label' (Name=''); target property is 'Visibility' (type 'Visibility')System.Windows.Data Information: 20 : BindingExpression cannot retrieve value due to missing information. BindingExpression:Path=NotNewRecord; DataItem=null; target element is 'Label' (Name=''); target property is 'Visibility' (type 'Visibility')System.Windows.Data Information: 21 : BindingExpression cannot retrieve value from null data item. This could happen when binding is detached or when binding to a Nullable type that has no value. BindingExpression:Path=NotNewRecord; DataItem=null; target element is 'Label' (Name=''); target property is 'Visibility' (type 'Visibility')System.Windows.Data Information: 41 : BindingExpression path error: 'LV_Name' property not found for 'object' because data item is null. This could happen because the data provider has not produced any data yet. BindingExpression:Path=LV_Name; DataItem=null; target element is 'TextBox' (Name=''); target property is 'Text' (type 'String')System.Windows.Data Information: 20 : BindingExpression cannot retrieve value due to missing information. BindingExpression:Path=LV_Name; DataItem=null; target element is 'TextBox' (Name=''); target property is 'Text' (type 'String')System.Windows.Data Information: 21 : BindingExpression cannot retrieve value from null data item. This could happen when binding is detached or when binding to a Nullable type that has no value. BindingExpression:Path=LV_Name; DataItem=null; target element is 'TextBox' (Name=''); target property is 'Text' (type 'String')System.Windows.Data Information: 41 : BindingExpression path error: 'NotNewRecord' property not found for 'object' because data item is null. This could happen because the data provider has not produced any data yet. BindingExpression:Path=NotNewRecord; DataItem=null; target element is 'TextBox' (Name=''); target property is 'Visibility' (type 'Visibility')System.Windows.Data Information: 20 : BindingExpression cannot retrieve value due to missing information. BindingExpression:Path=NotNewRecord; DataItem=null; target element is 'TextBox' (Name=''); target property is 'Visibility' (type 'Visibility')System.Windows.Data Information: 21 : BindingExpression cannot retrieve value from null data item. This could happen when binding is detached or when binding to a Nullable type that has no value. BindingExpression:Path=NotNewRecord; DataItem=null; target element is 'TextBox' (Name=''); target property is 'Visibility' (type 'Visibility')public class GWCTileSource : Microsoft.Maps.MapControl.TileSource { private const string TilePath = @"{GWC_ADDRESS}/service/gmaps?layers={L}&zoom={Z}&x={X}&y={Y}"; private string gwc_address; private string layername; public GWCTileSource() : base() { } public GWCTileSource(string gwc_address, string layername) : base() { this.gwc_address = gwc_address; this.layername = layername; } public override Uri GetUri(int x, int y, int zoom) { string url = TilePath; url = url.Replace("{GWC_ADDRESS}", gwc_address); url = url.Replace("{L}", layername); url = url.Replace("{Z}", zoom.ToString()); url = url.Replace("{X}", x.ToString()); url = url.Replace("{Y}", y.ToString()); return new Uri(url); } }We are currently developing a program using RadScheduleView. In our model any appointment can only be scheduled during user's working hours (which is user configurable).
 
Working hours can change from one day to another, and can be changed during program execution. We want it to be displayed behind other appointments (that is, in the background of RadScheduleView).
Is there an way to configure RadSchedule view background color in a cell independent way? i.e Working hours being displayed as green colored background cells while non working hours being displayed as gray colored cells, for example?
Thank you in advance,
Leandro
public class RibbonElement{ public string Text { get; set; } public bool IsEnabled { get; set; }}public class Tab : RibbonElement{ public ObservableCollection<Group> Groups { get; set; }}public class Group : RibbonElement{ public ObservableCollection<Button> Buttons { get; set; }}public class Button : RibbonElement{} <DataTemplate x:Key="ButtonTemplate"> <t:RadRibbonButton Text='{Binding Text}' IsEnabled='{Binding IsEnabled}' /> </DataTemplate> <HierarchicalDataTemplate x:Key="GroupTemplate" ItemsSource='{Binding Buttons}' ItemTemplate='{StaticResource ButtonTemplate}'> <TextBlock Text='{Binding Text}' /> </HierarchicalDataTemplate> <HierarchicalDataTemplate x:Key="TabTemplate" ItemsSource='{Binding Groups}' ItemTemplate='{StaticResource GroupTemplate}'> <TextBlock Text='{Binding Text}' /> </HierarchicalDataTemplate></Window.Resources><t:RadRibbonView ItemsSource='{Binding Tabs}' ItemTemplate='{StaticResource TabTemplate}' ApplicationButtonVisibility="Hidden" />