I have the following code:
<Gauges:RangeList> <Gauges:RadialRange Min="0" Max="50" StartWidth="0.02" EndWidth="0.03" Location="Inside" Background="#7F579132" BorderBrush="{x:Null}" IndicatorBackground="#FF4AB408" Offset="-0.07"/> <Gauges:RadialRange Min="50" Max="75" StartWidth="0.03" EndWidth="0.04" Location="Inside" Background="#7F9FAB32" BorderBrush="{x:Null}" IndicatorBackground="#FFF7E40D" Offset="-0.07"/> <Gauges:RadialRange Min="75" Max="100" StartWidth="0.04" EndWidth="0.05" Location="Inside" Background="#7F973C3C" BorderBrush="{x:Null}" IndicatorBackground="Red" Offset="-0.07" LabelForeground="{x:Null}"/> </Gauges:RangeList><Gauges:IndicatorList Height="247" Width="247"> <Gauges:StateIndicator Left="0.8" Value="{TemplateBinding Value}" UseRangeColor="True"/>
And the State Indicator shows the colour of the range rather than IndicatorBackground.
What is the reason for that?

<Label Content="Color" Height="24" Margin="5,8,191,0" Name="label24" FontSize="11" Grid.Column="1" Grid.Row="3" VerticalAlignment="Top" /> <telerik:RadColorPicker SelectedColor="{Binding Path=Colour,Mode=TwoWay, UpdateSourceTrigger=LostFocus, NotifyOnValidationError=True, ValidatesOnDataErrors=True, ValidatesOnExceptions=True}" Height="24" Margin="124,8,0,0" Name="rclrColour" TabIndex="24" FontSize="11" Grid.Column="1" Grid.Row="3" Width="39" /> private void rgrdCompanyViewAll_RowLoaded(object sender, Telerik.Windows.Controls.GridView.RowLoadedEventArgs e) { var row = e.Row as GridViewRow; if (row != null) { var cell = ((CompanyBO)e.Row.Item).Colour; if (cell != null) { var value = cell; e.Row.Background = new SolidColorBrush((Color)ColorConverter.ConvertFromString(value.ToString())); } } }Here is my QUESTION:-
Every thing is fine.But the colors display in radgridview are changed each and every minute when i am using scroll bar(vertical).
i make mistake at anywhere?
Pls suggest me?
ContentControl dragCue = RadDragAndDropManager.GenerateVisualCue();dragCue.Content = draggedItem.DataContext;dragCue.ContentTemplate = this.Resources["DragCueTemplate"] as DataTemplate;e.Options.DragCue = dragCue; <telerik:RadButton Content="Cancel" Command="telerik:RadGridViewCommands.CancelRowEdit" CommandTarget="{Binding ElementName=nameOfRGV}" />
Hello,
I’m having a issue with RadGridView for WPF.
When dragging a column header into the grouping bar, It throws the following exception:
System.InvalidOperationException was unhandled.
Message=Root AdornerLayer Not Found. Please make sure that your root visual is Window or other element that has an adorner layer. Alternatively, wrap your root panel in an <AdornerDecorator> element.
I have tried to wrap the root panel (and any other panel) into an AdornerDecorator in xaml code. Alternatively, I tried to create an AdornerLayer by code and wrap the panel/s in AdornerDecorators but the result was always the same.
I’m using RadGridView in a custom control derived from Control
class. It applies a generic template defined at generic.xaml file and this
control is part of an independent assembly referenced in a main project.
Thank you very much for your help.
private void OnDropInfo(object sender, DragDropEventArgs e) { if (e.Options.Status == DragStatus.DropComplete) { ListBoxItem item = e.Options.Source as ListBoxItem; DeviceApp payload = item.Content as DeviceApp; freeApps.Remove(payload); appList.UnselectAll(); appList.ItemsSource = freeApps; stationTree.ItemsSource = stations; appList.Items.Refresh(); stationTree.Items.Refresh(); } }<telerik:RadTransitionControl Name="TransitionControl" Grid.Column="1"></telerik:RadTransitionControl>
MyGridViewControl gv = new MyGridViewControl ();
TransitionControl.Content = gv; Thanks
