It seems that on some devices a touch with the Stylus doesn't fire the WPF native Touch events. Only the Stylus events will be fired. Because the TouchManager internally works only with the WPF Touch events, the manager's events are not fired.
I want to be able to specify the font family, size, etc. from XAML, not from code. Exactly the same as described here: https://www.telerik.com/forums/implicit-styles-custom-font-and-font-size (background: We are developing a UI Framework + resource dictionary for use in different applications. If each app will have to modify font sizes from code, inconsistencies are surely happen)
Currently, some of the controls from the suite are using custom cursors. They are optimized for 96 DPI only. If you set a higher DPI the custom cursors remain small compared to the window cursors. Created several sets of cursors (.cur) and apply different ones for the different DPI. This can be done for RadDiagram, RadSpreadsheet, RadRichTextBox, etc. Original Title: The mouse cursor is too small when DPI is above 100% Original Description: With the Diagrams control/Spreadsheet ,the mouse cursor is too small when DPI is above 100%,looking the attach files.
UI can still accept more inputs even if item has been selected in SelectionMode="Single" Please check the screenshot.
We have a WCF service that continuously polls a database for new/updated items and sends them to WPF clients. The client will process the update, decide what to do and then add/update an item that is displayed in a RadGridView. We use an IEditableCollectionView on top of an ICollectionView. Exception detail is below. App just crashed while sitting idle on Zarate, No mention of MSCORLIB so I think its a different error. Application: ReView.exe Framework Version: v4.0.30319 Description: The process was terminated due to an unhandled exception. Exception Info: System.ArgumentOutOfRangeException at System.ThrowHelper.ThrowArgumentOutOfRangeException(System.ExceptionArgument, System.ExceptionResource) at Telerik.Windows.Data.KeyedCollection.IndexOf(System.Object) at Telerik.Windows.Controls.DataControl.ItemCoerce(System.Windows.DependencyObject, System.Object) at System.Windows.DependencyObject.ProcessCoerceValue(System.Windows.DependencyProperty, System.Windows.PropertyMetadata, System.Windows.EntryIndex ByRef, Int32 ByRef, System.Windows.EffectiveValueEntry ByRef, System.Windows.EffectiveValueEntry ByRef, System.Object ByRef, System.Object, System.Object, System.Windows.CoerceValueCallback, Boolean, Boolean, Boolean) at System.Windows.DependencyObject.UpdateEffectiveValue(System.Windows.EntryIndex, System.Windows.DependencyProperty, System.Windows.PropertyMetadata, System.Windows.EffectiveValueEntry, System.Windows.EffectiveValueEntry ByRef, Boolean, Boolean, System.Windows.OperationType) at System.Windows.DependencyObject.SetValueCommon(System.Windows.DependencyProperty, System.Object, System.Windows.PropertyMetadata, Boolean, Boolean, System.Windows.OperationType, Boolean) at System.Windows.DependencyObject.SetValue(System.Windows.DependencyProperty, System.Object) at Telerik.Windows.Controls.DataControl.Telerik.Windows.Data.Selection.ISelectorInternal.set_CurrentItem(System.Object) at Telerik.Windows.Data.Selection.ItemSelectionHandler.SynchronizePublicCurrentItem() at Telerik.Windows.Data.Selection.ItemSelectionHandler.HandleCurrentItemChanged() at Telerik.Windows.Controls.GridView.Selection.CompositeSelectionHandler+<>c__DisplayClass6.<OnOwnerItemsCurrentChangedDispatch>b__4() at System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate, System.Object, Int32) at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate) at System.Windows.Threading.DispatcherOperation.InvokeImpl() at MS.Internal.CulturePreservingExecutionContext.CallbackWrapper(System.Object) at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object) at MS.Internal.CulturePreservingExecutionContext.Run(MS.Internal.CulturePreservingExecutionContext, System.Threading.ContextCallback, System.Object) at System.Windows.Threading.DispatcherOperation.Invoke() at System.Windows.Threading.Dispatcher.ProcessQueue() at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef) at MS.Win32.HwndWrapper.WndProc(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef) at MS.Win32.HwndSubclass.DispatcherCallbackOperation(System.Object) at System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate, System.Object, Int32) at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate) at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(System.Windows.Threading.DispatcherPriority, System.TimeSpan, System.Delegate, System.Object, Int32) at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr, Int32, IntPtr, IntPtr) at MS.Win32.UnsafeNativeMethods.DispatchMessage(System.Windows.Interop.MSG ByRef) at System.Windows.Threading.Dispatcher.PushFrameImpl(System.Windows.Threading.DispatcherFrame) at System.Windows.Application.RunDispatcher(System.Object) at System.Windows.Application.RunInternal(System.Windows.Window) at ReView.App.Main() Event Type: Error Event Source: .NET Runtime Event Category: None Event ID: 1026 Date: 10/12/2018 Time: 10:10:15 AM User: N/A Computer: NRAD-NE-RAPAC.ratc.com Description: Application: ReView.exe Framework Version: v4.0.30319 Description: The process was terminated due to an unhandled exception. Exception Info: System.ArgumentOutOfRangeException at System.ThrowHelper.ThrowArgumentOutOfRangeException(System.ExceptionArgument, System.ExceptionResource) at System.Collections.Generic.List`1[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]].get_Item(Int32) at Telerik.Windows.Data.ListExtensions.BinarySearch[[System.__Canon, mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]](System.Collections.Generic.IList`1<System.__Canon>, System.__Canon, System.Func`3<System.__Canon,System.__Canon,Int32>) at Telerik.Windows.Data.KeyedCollection.IndexOf(System.Object) at Telerik.Windows.Controls.DataControl.ItemCoerce(System.Windows.DependencyObject, System.Object) at System.Windows.DependencyObject.ProcessCoerceValue(System.Windows.DependencyProperty, System.Windows.PropertyMetadata, System.Windows.EntryIndex ByRef, Int32 ByRef, System.Windows.EffectiveValueEntry ByRef, System.Windows.EffectiveValueEntry ByRef, System.Object ByRef, System.Object, System.Object, System.Windows.CoerceValueCallback, Boolean, Boolean, Boolean) at System.Windows.DependencyObject.UpdateEffectiveValue(System.Windows.EntryIndex, System.Windows.DependencyProperty, System.Windows.PropertyMetadata, System.Windows.EffectiveValueEntry, System.Windows.EffectiveValueEntry ByRef, Boolean, Boolean, System.Windows.OperationType) at System.Windows.DependencyObject.SetValueCommon(System.Windows.DependencyProperty, System.Object, System.Windows.PropertyMetadata, Boolean, Boolean, System.Windows.OperationType, Boolean) at System.Windows.DependencyObject.SetValue(System.Windows.DependencyProperty, System.Object) at Telerik.Windows.Controls.DataControl.Telerik.Windows.Data.Selection.ISelectorInternal.set_CurrentItem(System.Object) at Telerik.Windows.Data.Selection.ItemSelectionHandler.SynchronizePublicCurrentItem() at Telerik.Windows.Data.Selection.ItemSelectionHandler.HandleCurrentItemChanged() at Telerik.Windows.Controls.GridView.Selection.CompositeSelectionHandler+<>c__DisplayClass6.<OnOwnerItemsCurrentChangedDispatch>b__4() at System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate, System.Object, Int32) at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate) at System.Windows.Threading.DispatcherOperation.InvokeImpl() at MS.Internal.CulturePreservingExecutionContext.CallbackWrapper(System.Object) at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object, Boolean) at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext, System.Threading.ContextCallback, System.Object) at MS.Internal.CulturePreservingExecutionContext.Run(MS.Internal.CulturePreservingExecutionContext, System.Threading.ContextCallback, System.Object) at System.Windows.Threading.DispatcherOperation.Invoke() at System.Windows.Threading.Dispatcher.ProcessQueue() at System.Windows.Threading.Dispatcher.WndProcHook(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef) at MS.Win32.HwndWrapper.WndProc(IntPtr, Int32, IntPtr, IntPtr, Boolean ByRef) at MS.Win32.HwndSubclass.DispatcherCallbackOperation(System.Object) at System.Windows.Threading.ExceptionWrapper.InternalRealCall(System.Delegate, System.Object, Int32) at System.Windows.Threading.ExceptionWrapper.TryCatchWhen(System.Object, System.Delegate, System.Object, Int32, System.Delegate) at System.Windows.Threading.Dispatcher.LegacyInvokeImpl(System.Windows.Threading.DispatcherPriority, System.TimeSpan, System.Delegate, System.Object, Int32) at MS.Win32.HwndSubclass.SubclassWndProc(IntPtr, Int32, IntPtr, IntPtr) at MS.Win32.UnsafeNativeMethods.DispatchMessage(System.Windows.Interop.MSG ByRef) at System.Windows.Threading.Dispatcher.PushFrameImpl(System.Windows.Threading.DispatcherFrame) at System.Windows.Application.RunDispatcher(System.Object) at System.Windows.Application.RunInternal(System.Windows.Window) at ReView.App.Main() For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp. Data:
Would be useful for setting timezone offsets and for more control to the user
private void UpdateHeadersFooters(RadDocument document) { foreach (Section section in document.Sections) { if (section.Headers.Default.Body != null) { this.UpdateFields(section.Headers.Default.Body); } if (section.Headers.First.Body != null) { this.UpdateFields(section.Headers.First.Body); } if (section.Headers.Even.Body != null) { this.UpdateFields(section.Headers.Even.Body); } if (section.Footers.Default.Body != null) { this.UpdateFields(section.Footers.Default.Body); } if (section.Footers.First.Body != null) { this.UpdateFields(section.Footers.First.Body); } if (section.Footers.Even.Body != null) { this.UpdateFields(section.Footers.Even.Body); } } } private void UpdateFields(RadDocument radDocument) { RadDocumentEditor editor = new RadDocumentEditor(radDocument); editor.ChangeAllFieldsDisplayMode(FieldDisplayMode.Code); }
Most commonly the exception message is "Input file or data stream does not conform to the expected file format specification".
This appears because of the glyphs font used in the different controls.
To work this around you can use two approaches:
RadGlyph.GetRegisteredFonts();
var dictionary =
typeof
(RadGlyph).GetField(
"registeredTypefaces"
, BindingFlags.NonPublic | BindingFlags.Static)?.GetValue(
null
)
as
Dictionary<
string
, Typeface>;
dictionary?.Clear();
RadGlyph.RegisterFont(
new
FontFamily(
new
Uri(
"pack://application:,,,/WpfApp3;component/TelerikFont/"
, UriKind.RelativeOrAbsolute),
"./#TelerikWebUI"
),
"TelerikWebUI"
);
Currently FTP network locations are not present in RadFileDialogs.
Implement support for them similar to MS Dialogs.
Hi All,
I would like to hide the mouse over background to TreeListViewRow, and now the solution that I know is to edit the template my self.
Is it possible to add custom value for MouseOverBackground, SelectedBackground like GridViewRowStyle?
Thanks in advance for you feedback.
Hello,
We want to integrate a web browser in a flyout pane in WPF to display html 5 pages. Moreover, we want to display some html contents in tooltips too.
The provided WebBrowser by WPF framework does not work well.
Consequently, the idea is to have a "htmlplaceholder" (as you provide in silverlight) which supports HTML 5 and could be based on chromium engine.
Thanks & regards,
When the StyleManager is applied to the control, the IsRippleEnabled property is not respected.