Hi.
Is it possible to have a RadGridView with Grouping, Virtualization and still have Content based scrolling (CanContentScrol=true)?
We have a rather big List of Items with unequal height. The List is dynamically managed based on the state of an external peripheral. List Items are added or removed when the state of the peripheral changes. This leads to unwanted movement of the Items in the List.
We are trying to encounter Item movement when the List changes. We implemented a solution similar to this one: Keep Selected Item in Viewport when Collection Changes - Telerik UI for WPF
But when enabling Grouping or Sorting, the RadGridView seems to change to pixel based scrolling instead of Item based scrolling. Then it seems the above solution is not working anymore, because the Offset then needs to be given in Pixels instead of Items.
Is it possible to have Item based scrolling despite Grouping or Sorting?
Else is it possible to get the height of the inserted/removed Item to calculate the offset needed, even if Virtualization is enabled?
Or is possibly some other approach better suited?
In the HtmlExportSettings there is no valid ImageExportMode that word is compatible with as it is not able to display Base64 encoded images.
Is there another ImageExportMode that is compatible?
OR
Is there a better solution to insert images from RichTextBox into a Microsoft word document? Possibly, create RadDocument from the word document I have and replace it in the RadDocument and do conversion to Microsoft word document?
Open to suggestions.
Hello,
I would like to add a slide button under the tile view like screenshot.
How can I add a button under the tile view?
Thanks for your feedback.
<tk:RadNumericUpDown Width="150" Height="50"
Value="{Binding Exposure}"
IsInteger="True"
CustomUnit="ms"/>
ChartView experiences frequent garbage collection in TrackInfoUpdated after Tooltip of any control is activated.
<Grid Loaded="Grid_Loaded">
<Grid.RowDefinitions>
<RowDefinition Height="auto"></RowDefinition>
<RowDefinition Height="*"></RowDefinition>
<RowDefinition Height="*"></RowDefinition>
</Grid.RowDefinitions>
<StackPanel>
<TextBlock x:Name="DTextBlock"></TextBlock>
<StackPanel Width="200" Height="25" ToolTip="SSSS" Background="Red"></StackPanel>
</StackPanel>
<telerik:RadCartesianChart Grid.Row="1" x:Name="DMainChart">
<telerik:RadCartesianChart.HorizontalAxis>
<telerik:DateTimeCategoricalAxis MajorTickInterval="30" LineStroke="Transparent">
</telerik:DateTimeCategoricalAxis>
</telerik:RadCartesianChart.HorizontalAxis>
<telerik:RadCartesianChart.VerticalAxis>
<telerik:LinearAxis />
</telerik:RadCartesianChart.VerticalAxis>
<telerik:RadCartesianChart.Series>
<telerik:LineSeries x:Name="DLineSeries" CategoryBinding="Seq" ValueBinding="Open"></telerik:LineSeries>
</telerik:RadCartesianChart.Series>
<telerik:RadCartesianChart.Behaviors>
<telerik:ChartPanAndZoomBehavior ZoomMode="Horizontal" DragMode="Pan"/>
<telerik:ChartTrackBallBehavior ShowIntersectionPoints="False" ShowTrackInfo="False" TrackInfoUpdated="ChartTrackBallBehavior_TrackInfoUpdated"/>
</telerik:RadCartesianChart.Behaviors>
</telerik:RadCartesianChart>
</Grid>
private void Grid_Loaded(object sender, RoutedEventArgs e)
{
if (sender is Grid grid)
{
grid.DataContext = this;
ObservableCollection<SeriesKLineModel> ChartKLine = new ObservableCollection<SeriesKLineModel>();
Random random = new Random();
for (int i = 0; i < 5000; i++)
{
SeriesKLineModel mode = new SeriesKLineModel(DateTime.Now.AddDays(i), random.Next(10, 20), 5, -5, 0, Color.FromRgb(33, 141, 252));
mode.Seq = mode.Seq.AddHours((-1) * i);
ChartKLine.Add(mode);
}
this.DLineSeries.ItemsSource = ChartKLine;
this.DTextBlock.SetBinding(TextBlock.TextProperty, new Binding(nameof(TestText)));
}
}
private string _TestText = "";
public event PropertyChangedEventHandler PropertyChanged;
public string TestText
{
get
{
return _TestText;
}
set
{
_TestText = value;
this.PropertyChanged?.Invoke(this, new PropertyChangedEventArgs(nameof(TestText)));
}
}
i have a combo box that i need when i select one of it's items, it will open a new sub combo box to choose a sub item
is it feasible?
The Telerik WPF ScheduleView's appointment cells have a problem with intersecting times when assigning schedules within a one-minute timeframe. For example, when I drag and drop to assign a schedule like 12:30 PM - 1:30 PM, and then another schedule from 1:30 PM - 2:30 PM, sometimes it displays two cells in one column (as shown in the right corner), while other times it functions correctly (as shown in the left corner).
I must emphasize that this is a bug in the user interface. Is there a way you can address and fix this issue? Thank you!