The solution in this KB article is used: https://docs.telerik.com/devtools/winforms/knowledge-base/clickonce-application-is-broken
Follow the steps:
1. Set your main monitor to be with higher than 100% DPI scaling (e.g. 175%, 200%)
2. Set the secondary monitor with 100% DPI scaling.
3. Run the exe from the project on the secondary monitor with 100% DPI scaling. You will notice that all controls that host the standard MS TextBox are incorrectly scaled:
Add an opportunity to use custom fonts in Html-like text formatting.
Example:
this.radTreeView1.Nodes.Add("<html><font="Roboto Medium">Node Strike</font></html>");
Clicking on a tab item in the design surface should select the tab. The animation demonstrates the current behavior:
It would be good to offer default localization providers for some languages like German, Spanish, French, etc.
It is possible to use the following site that Microsoft provides for this purpose: https://www.microsoft.com/en-us/language
In English: "dog's" is marked as incorrect
In French: "L'ordinateur" is marked as incorrect
The possible workaround is to use the old Pdf processing model, by setting the UsePdfProcessingModel property to false.
this.radPdfViewer1.UsePdfProcessingModel = false;
// This switches the thumbnails to the old model too. Otherwise they are blank.
this.radPdfViewer1.ContainerElement.ThumbnailList.UsePdfProcessingModel = false;
System.Reflection.TargetInvocationException:“Exception has been thrown by the target of an invocation.”
XamlParseException: “类型“Telerik.WinForms.Documents.Model.RadDocument”不具有内容属性。指定要设置的属性的名称,或者在该类型上添加 ContentPropertyAttribute 或 TypeConverterAttribute。”,行号为“5”,行位置为“4”。
When saving the layout of RadDock with SaveToXml, the scaled value of SplitterWidth is saved in high DPI.
The non-scaled value should be saved.
Use a custom font set like this:
this.radSyntaxEditor1.SyntaxEditorElement.EditorFontFamily = new Telerik.WinControls.SyntaxEditor.UI.FontFamily("Cascadia Code");
this.radSyntaxEditor1.SyntaxEditorElement.EditorFontSize = 13;
Then load a large document, at least 10K lines so that the clipping is visible.
Please run the attached sample project, open the drop down and press the down arrow key.
Observed: application hangs
Expected: since all menu items in the drop down are disabled, nothing is expected to happen. However, the application shouldn't hangs.
Workaround:
public class CustomRadDropDownButtonElement : RadDropDownButtonElement
{
protected override Type ThemeEffectiveType
{
get
{
return typeof(RadDropDownButtonElement);
}
}
protected override RadDropDownButtonPopup CreateDropDown()
{
return new CustomDropDown(this);
}
}
public class CustomDropDown : RadDropDownButtonPopup
{
public CustomDropDown(RadElement ownerElement) : base(ownerElement)
{
}
protected override void EnsureItemEnabled(RadItem item, bool isUp)
{
do
{
item = this.GetNextItem(item, !isUp);
if (item == this.Items.Last())
{
break;
}
} while (!item.Enabled);
if (item != null)
{
this.SelectItem(item);
}
}
}
Reproduction steps:
Observed behavior:
Expected behavior: