How can I show animation like the following video in diagram control with pause and play option?
Which control is used in the following image?
Hi,
in my project there is one RadGridView is present. Inside it there is GridViewComboBoxColumn but whenver I am selecting other item from that comboboxcell, binded property setter is not being called and as a result datacontext also remains same.
But whenever cell of that combobox column loses the focus property setter is called and as a result datacontext is fixed.
Please suggest fixes for this one.
Also is there any way to manually update datacontext ? If yes then how to retrieve changed places and how to update them in datacontext using selection change listener?
Hi, I followed the steps on how to save / load filters on my c# WPF app from this link and it is working correctly
https://docs.telerik.com/devtools/wpf/controls/radgridview/filtering/how-to/howto-save-and-load-filter-settings
My grid is filtered and it works for all the columns (Just in case it wasn’t clear, the grid is indeed filtered by Source and Order Id). For all the fields that are strings, the filters look good when it shows:
But the fields that are enums, The header shows the icon as if a filter has been applied, but when it shows me the list, the values are not checked:
Code:
<telerik:RadGridView
x:Name="DesignQueueOrderGridView"
ShowGroupPanel="False"
AutoGenerateColumns="False"
ItemsSource="{Binding FilteredDesignQueueOrderViewModels}"
RowDetailsVisibilityMode="Visible"
RowIndicatorVisibility="Collapsed"
Grid.Row="1"
VerticalAlignment="Top"
RowStyle="{StaticResource RowStyleOdd}"
AlternationCount="2"
AlternateRowStyle="{StaticResource RowStyleEven}"
CanUserSortColumns="False">
<telerik:GridViewDataColumn
UniqueName="ImageSource"
Header="Source"
HeaderTextAlignment="Center"
DataMemberBinding="{Binding ImageSource}"
IsReadOnly="True">
<telerik:GridViewDataColumn DataMemberBinding="{Binding UserId}" UniqueName="UserId"
HeaderTextAlignment="Center"
Header="User Id"
IsReadOnly="True"/>
</telerik:GridViewDataColumn>
Enum:
[DataContract]
public enum ImageSource
{
[EnumMember]
Unknown = 0,
[EnumMember]
OnlineDesigner = 1
}
public void LoadColumnFilters(IList<FilterSetting> savedSettings)
{
Application.Current.Dispatcher.Invoke(() =>
{
GridViewDataControl.FilterDescriptors.SuspendNotifications();
foreach (FilterSetting setting in savedSettings)
{
Telerik.Windows.Controls.GridViewColumn column = GridViewDataControl.Columns[setting.ColumnUniqueName];
if (column is null)
continue;
IColumnFilterDescriptor columnFilter = column.ColumnFilterDescriptor;
if (setting.SelectedDistinctValues is not null)
{
foreach (string? distinctValue in setting.SelectedDistinctValues)
{
columnFilter.DistinctFilter.AddDistinctValue(distinctValue);
}
}
}
GridViewDataControl.FilterDescriptors.ResumeNotifications();
});
}
Thank you in advance! Juan
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.