Hello,
Using the DiagramDesignToolBox_WPF project diagram control (from Telerik's github) samples, I created a basic diagram. See attached.
Once the diagram is loaded, is it possible to associate commands such as click, be able to update the diagram object's background color, be able to update the diagram object's text, etc.?
Thanks,
Mark
One last question:
My Telerik subscription provides me with X support tickets per year but I can't find where to create a new support ticket. I see my past tickets that I've created but no where can I start a new one. How can I start a 'priority' question that is associated with my paid Telerik subscription?
I have cells highlighted by changing cell' foreground color.
Now i need to collect those highlighted cells to select cells programmatically. I can browse through values but need to read back cell style:
List<GridViewCellInfo> highlightedCells = new List<GridViewCellInfo>();
foreach (var item in this.gridView.Items)
{
foreach (var column in this.gridView.Columns.OfType<GridViewBoundColumnBase>())
{
var cell = column.GetValueForItem(item); // it is actual cell value
// looking for something like:
// if (cell.Foreground == Brushes.Cyan)
// highlightedCells.Add(cell)
}
}
Hi
I am having an issue binding the IsSelected property of a RadListboxItem. Specifically I am attempting to follow the pattern provided in this blog post Accessing WPF ListBox SelectedItems using MVVM (markwithall.com)
The key part toward the bottom of the post is this which binds the IsSelected property of a ListBoxItem. I have tested it and it works just fine.
<ListBox ItemsSource="{Binding Items}" SelectionMode="Extended">
<ListBox.ItemContainerStyle>
<Style TargetType="ListBoxItem">
<Setter Property="IsSelected" Value="{Binding IsSelected}" />
</Style>
</ListBox.ItemContainerStyle>
</ListBox>
However when I try to use a RadListbox and setup the ItemContainerStyle like this
<telerik:RadListBox.ItemContainerStyle>
<Style TargetType="telerik:RadListBoxItem" BasedOn="{StaticResource RadListBoxItemStyle}">
<Setter Property="IsSelected" Value="{Binding IsSelected}" />
</Style>
</telerik:RadListBox.ItemContainerStyle>
Hello,
I have an issue concerning GridViewDataColumn. Currently, my data type is Enum. If I sort it in my RadGridView (click on the header of this column) the view is empty after my click, and every data disappear. With other fields it's working fine (string, int, etc..)
Here's how I create my Column:
<telerik:GridViewDataColumn
Header="Type" UniqueName="MyType"
DataMemberBinding="{Binding Type}"
IsSortable="True" IsFilterable="False" IsResizable="True"
TextAlignment="Left" HeaderTextAlignment="Center" />
It doesn't look possible to sort Enum in this field. Someone has a solution or can help me to make a custom sort for this column?
If you need something more, feel free to ask ;)
Hello,
I need to create a scale, showing the Major tick at the beginning/at the end of the scale.
In order to do this, I've set ShowLastLabel to false. The data on the scale changes every 200 m/s. The last label sometimes blinks, even though the property ShowLastLabel is set to false.
If I change EndTickOffset, instead of changing ShowLastLabel, then I do not see the Major tick at the end of the scale.
See the attached example.
<telerik:RadVerticalLinearGauge
FontSize="16"
Background="Green"
HorizontalAlignment="Left"
Width="3"
Margin="30,94,0,95"
>
<telerik:VerticalLinearScale
Max="{Binding Max,FallbackValue=20}"
Min="{Binding Min,FallbackValue=0}"
Background="Green"
LabelLocation="Inside"
FontSize="16"
StartTickOffset="{Binding TickOffset,FallbackValue=0}"
EndTickOffset="{Binding TickOffset,FallbackValue=0}"
ShowFirstLabel="False"
ShowLastLabel="False"
MajorTickStep="10"
IsInteractive="True"
MinorTickBackground="Red"
MiddleTicks="2"
MiddleTickBackground="Green"
MiddleTickLocation="Outside"
LabelOffset="16"
MiddleTickRelativeWidth="5"
MiddleTickRelativeHeight="0.015*"
MajorTickRelativeWidth="20"
MajorTickRelativeHeight="0.015"
EndWidth="0.03"
StartWidth="0.03"
MinorTicks="1"
>
</telerik:VerticalLinearScale>
</telerik:RadVerticalLinearGauge>
Timer timer= new Timer(200);
private void Method(double value)
Hi, I am trying to display some glyphs in my WPF application using the RadGlyph control.
Unfortunately some of them are not displayed and I do not understand why.
I am usig the 2021 R3 version and .Net Framework 4.7.2.
I am attaching a sample where this issue can be easily reproduced.
Thanks for the help.
Hi,
I use RadGridView.ExportToWorkbook on a grid with over 600 000 rows: the operation take much than 5' to end. Can I speed up it?
Thank you
Luigi
I am using Telerik.Windows.Controls for Wpf version 2021.1.233, and have reports from a customer that our application is crashing with the following error included below. As you can see the call stack is not terribly helpful, so I am hoping that either someone else has run into this, or someone from Telerik can offer some insight as to what might be null in the MapSourceInitializeCompleted handler so I can look into preventing this error.
Briefly, my application opens a window with a RadMap, draws a pushpin or two on the map, and the user can close the window at any point. After a period of time the window can also be closed by the application without any user interaction if certain criteria are met. I am fairly sure that the window with the map opens and displays correctly. I think the crash may be related to either an update to the map (drawing the pushpin), or closing the window containing the map, but that is a best guess at this point.
.NET Core Version: 3.1.27Hi,
in wpf, in telerik:RadGridView I can not change width of the RowIndicator column (the very first one where the arrow points at the selected row.). There is only visibility property, but nothing else.
Is there a way to change it?
thank you,
J.