I would like to find the cell from the name instead of the index. Is it possible?
<telerik:RadGridView ItemsSource="{Binding Tests}"
AutoGenerateColumns="False"
RowLoaded="RadGridView_RowLoaded">
<telerik:RadGridView.Columns>
<telerik:GridViewToggleRowDetailsColumn />
<telerik:GridViewDataColumn Header="Title" DataMemberBinding="{Binding Title}" Name="Title" />
<telerik:GridViewDataColumn Header="Skapad" DataMemberBinding="{Binding Created}" Name="Modified" />
</telerik:RadGridView.Columns>
private void RadGridView_RowLoaded(object sender, Telerik.Windows.Controls.GridView.RowLoadedEventArgs e)
{
if (e.Row is Telerik.Windows.Controls.GridView.GridViewRow)
{
if (e.DataElement != null)
{
ClearIfDefaultDate(e.Row.Cells[2].Content as TextBlock);
}
}
}
Hello,
I have a window that contains a RadRibbonView. This RadRibbonView is composed of several RadRibbonBackstage.
I changed by code the property FlowDirection of the window to the value RightToLeft.
Because of property value inheritance, this property is supposed to be automatically changed for all child elements.
Here is the visual tree (see capture in attachment):
ATSShell_Mainwindow
Border
AdornerDecorator
AdornerLayer
BackstageAdorner
RadRibbonBackstage
The value of the property FlowDirection is correctly inherited up to the BackstageAdorner (RightToLeft).
But the value of the RadRibbonBackstage is still LeftToRight.
How can I fix that issue ?
Thanks,
Alexandre

Hi,
I am trying to add a image in a table cell so that the width of the image is equal to the width of the cell. The PreferredWidth of the cell is set in percentage. I use the following function to get the width of the cell in pixels:
private float GetTableCellwidthInPixels(Table parent, int index) { var section = parent.GetRootDocument().EnumerateChildrenOfType<Section>().Last(); var pageWidth = section.PageSize.Width; return (float)parent.GetGridColumnWidth(index).Calculate((float)pageWidth); }This works fine if the total preferred widths of all cells on a row is less or equal to 80. If they are larger than 80 the image gets larger than the cell. If I subtract the page margins from the width:
var pageWidth = section.PageSize.Width - section.PageMargin.Horizontal;the image is always smaller than the cell.
I am doing all this processing before the document is added to the radRichTexBox, so the document is unmeasured.
Any idea why this happens?

Hello
I'm using trial version 2020.1.218
I'm trying to migrate that example to .NET Core 3.1
https://github.com/telerik/xaml-sdk/tree/master/Docking/VisualStudioDocking
but I faced many issues.
Do you have any updated example (Docking + MVVM) for .NET COre 3.1?
What is the purpose of the property UniqueID? It's public, so it must be intended for use by the developer. I kind of expected it to be unique for the lifetime of the appointment instance, but the value changes between the Creating and Created events.
DateTime.Now.Ticks UniqueId Event
637237601642743485 ed93e590-52ca-4101-adcd-4dddadf19a07 Creating
637237601642833259 5ad0d20c-1bea-4825-9006-0075e472680e Created
637237601642933477 5ad0d20c-1bea-4825-9006-0075e472680e Editing
637237602458312088 5ad0d20c-1bea-4825-9006-0075e472680e Edited
public class Appointment : AppointmentBase{ public Appointment(); public virtual string Body { get; set; } public string Location { get; set; } public string UniqueId { get; set; } public string Url { get; set; } public override IAppointment Copy(); public override void CopyFrom(IAppointment other); public override string ToString();}

Hi!
I have a question about licensing for a developer team. We are 5 of us in the team working on the same solution. It's a multiple project WPF solution. Only one of us would like to work with the UI and the telereik components i.e. modify the xaml file and add new telerik components to the actual view. The left of use will just work on the core of the application, but wants to build and run the application and test their own changes. My question is that do we need 5 licenses or we could go with only one? Thanks in advance.
Regards,
Roland

How can I play a sound in the background when displaying a RadDesktopAlert? I believe the WinForms version has a property to provide a file name and the sound plays automatically.

RadDateTimePicker dayEndTimePicker = new RadDateTimePicker(); dayEndTimePicker.InputMode = Telerik.Windows.Controls.InputMode.TimePicker; dayEndTimePicker.MinWidth = 75.0; dayEndTimePicker.MaxWidth = 75.0; dayEndTimePicker.SelectionChanged += new SelectionChangedEventHandler(dayEndTimePicker_SelectionChanged); string endTime = GetScreenSettingValue("DayEndTime", "18:00:00", false); string[] endTimeSplit = endTime.Split(new Char[] { ':' }); dayEndTimePicker.SelectedValue = new DateTime(DateTime.Now.Year, DateTime.Now.Month, DateTime.Now.Day, Convert.ToInt32(endTimeSplit[0]), Convert.ToInt32(endTimeSplit[1]), Convert.ToInt32(endTimeSplit[2])); dayEndTimePicker.DateTimeText = dayEndTimePicker.SelectedValue.Value.ToShortTimeString();
Hello,
Is it possible to have the navigation view items expand downwards to show further submenus? I've tried using radpanelbar and expandergroups in the item's content but it doesn't work like I want it to.
Thanks,
Richard

Hi!
I'm using the RadScheduleView with custom appointments as described in the referenced article on your documentation. But unfortunately I'm facing some troubles using the Appointment as suggested. What I want to achieve:
I have a complex object for storing time tracking information (let's call it TimeTrack) with a start, end (DateTime), name and references to other child objects storing additional information. I wanted to display those TimeTrack objects in a schedule view so user can easily modify start, end or even create a copy of that object with using the [CTRL] key. Therefor I created a TimeTrackAppointmentProxy class in this way:
public class TimeTrackAppointmentProxy : Appointment
{
}