how do we set RadObservableCollection<T>.ShouldResetOnResumeNotifications to false?
there is no public constructor that allows for this and the property is readonly ...
Hello.
I want to implement module that add "EndShape" on toolbox and dragdrop to diagram.
Help me.
Hi in our application we can enter on three different positions the same value via an autocomplete box. Unfortunately the Text is not align with all the other positions. I prepared a small example where you can test it.
You can enter the value for Search Text in the Grid (via cell edit template) the First Tab and the Second tab at the bottom.You can see that if you enter similar text examples like Test, Test1, TestT and switch between them the value gets overwritten by the old value (First Tab: Test, Second Tab: Test1, Switch back to first tab => Test overwrites Test1)
I hope you can reproduce this issue. We found a workaround at handling the binding at the lost focus event, but in my opinion this is a bug in the control.
Thanks and Br,
Stefan
https://drive.google.com/file/d/1MEYAVatohcLog67PukJc2LHzXh_yvq4_/view?usp=sharing
Hello,
I am facing some issues with the FileDialogs Controls in WPF:
When using the controls, none of their fields are recognized (for example, ExplorerControl
has no Filter
neither
Multiselect
member)
I created a simple WPF project with only the two following files, and added Assembly references to:
MainWindow.xaml:
<
Window
x:Class
=
"TelerikTest.MainWindow"
xmlns:telerik
=
"http://schemas.telerik.com/2008/xaml/presentation"
xmlns:fileDialogs
=
"clr-namespace:Telerik.Windows.Controls.FileDialogs;assembly=Telerik.Windows.Controls.FileDialogs"
mc:Ignorable
=
"d"
d:DesignHeight
=
"300"
d:DesignWidth
=
"300"
>
<
Grid
>
<
fileDialogs:ExplorerControl
x:Name
=
"explorer"
/>
</
Grid
>
</
Window
>
MainWindow.xaml.cs:
using
System.Windows;
using
System.Windows.Controls;
namespace
TelerikTest
{
/// <summary>
/// Interaction logic for MainWindow.xaml
/// </summary>
public
partial
class
MainWindow : Window
{
public
MainWindow()
{
InitializeComponent();
}
}
}
And when trying to run it, I get this exception:
System.ArgumentNullException: 'Value cannot be null. Parameter name: source'
This exception was originally thrown at this call stack:
System.Linq.Enumerable.OfType<TResult>(System.Collections.IEnumerable)
Telerik.Windows.Controls.FileDialogs.ExplorerControl.MainNavigationPaneLoaded(object, System.Windows.RoutedEventArgs)
System.Windows.RoutedEventHandlerInfo.InvokeHandler(object, System.Windows.RoutedEventArgs)
System.Windows.EventRoute.InvokeHandlersImpl(object, System.Windows.RoutedEventArgs, bool)
System.Windows.UIElement.RaiseEventImpl(System.Windows.DependencyObject, System.Windows.RoutedEventArgs)
System.Windows.UIElement.RaiseEvent(System.Windows.RoutedEventArgs)
System.Windows.BroadcastEventHelper.BroadcastEvent(System.Windows.DependencyObject, System.Windows.RoutedEvent)
System.Windows.BroadcastEventHelper.BroadcastLoadedEvent(object)
MS.Internal.LoadedOrUnloadedOperation.DoWork()
System.Windows.Media.MediaContext.FireLoadedPendingCallbacks()
...
[Call Stack Truncated]
Thanks in advance for your reply
Note: I have no issue with direct call to FileDialog dialogs, the following code works:
new
RadOpenFileDialog().ShowDialog();
I have a ScheduleView component inside a RadPane that is docked to Top as you can see in the Image1, I have 10 visible days with 3 groups, due to the size of the RadPane I can only see 3 days which is correct. Now, when I make the panel floating I would like to see the whole 10 days without having to scroll.
Is it possible automatically resize the visible days to fit in the available space?
This is the definition of my ScheduleView control:
<
scheduleView:RadScheduleView
x:Name
=
"scheduleViewOrders"
Grid.RowSpan
=
"2"
BorderThickness
=
"0 1 1 1"
MinAppointmentHeight
=
"20"
FirstVisibleTime
=
"00:00"
GroupHeaderContentTemplateSelector
=
"{StaticResource CustomGroupHeaderContentTemplateSelector}"
AppointmentItemContentTemplate
=
"{ StaticResource AppointmentTemplate}"
ResourceTypesSource
=
"{StaticResource ResourcesTypes}"
PreviewMouseWheel
=
"ScheduleViewOrders_PreviewMouseWheel"
xmlns:local
=
"clr-namespace:ProductionScheduler.ViewModel.Production"
HorizontalScrollBarVisibility
=
"Visible"
>
<
scheduleView:RadScheduleView.ActiveViewDefinition
>
<
scheduleView:DayViewDefinition
GroupFilter
=
"{Binding GroupFilter}"
Orientation
=
"Horizontal"
VisibleDays
=
"10"
MinorTickLength
=
"1h"
MajorTickLength
=
"1h"
MinTimeRulerExtent
=
"3000"
/>
</
scheduleView:RadScheduleView.ActiveViewDefinition
>
<
scheduleView:RadScheduleView.GroupDescriptionsSource
>
<
scheduleView:GroupDescriptionCollection
>
<
scheduleView:DateGroupDescription
></
scheduleView:DateGroupDescription
>
<
scheduleView:ResourceGroupDescription
ResourceType
=
"Schedule"
/>
</
scheduleView:GroupDescriptionCollection
>
</
scheduleView:RadScheduleView.GroupDescriptionsSource
>
</
scheduleView:RadScheduleView
>
And this is the definition of the GroupHeaderContentTemplateSelector:
<
localStyles:CustomGroupHeaderContentTemplateSelector
x:Key
=
"CustomGroupHeaderContentTemplateSelector"
>
<
localStyles:CustomGroupHeaderContentTemplateSelector.HorizontalTemplate
>
<
DataTemplate
>
<
ContentPresenter
Content
=
"{Binding FormattedName}"
Margin
=
"2"
Width
=
"80"
Height
=
"30"
VerticalAlignment
=
"Center"
/>
</
DataTemplate
>
</
localStyles:CustomGroupHeaderContentTemplateSelector.HorizontalTemplate
>
<
localStyles:CustomGroupHeaderContentTemplateSelector.VerticalTemplate
>
<
DataTemplate
>
<
telerik:LayoutTransformControl
VerticalAlignment
=
"Center"
>
<
telerik:LayoutTransformControl.LayoutTransform
>
<
RotateTransform
Angle
=
"0"
/>
</
telerik:LayoutTransformControl.LayoutTransform
>
<
ContentPresenter
Content
=
"{Binding FormattedName}"
Margin
=
"5"
Width
=
"70"
/>
</
telerik:LayoutTransformControl
>
</
DataTemplate
>
</
localStyles:CustomGroupHeaderContentTemplateSelector.VerticalTemplate
>
<
localStyles:CustomGroupHeaderContentTemplateSelector.HorizontalResourceTemplate
>
<
DataTemplate
>
<
ContentPresenter
Content
=
"{Binding Name.DisplayName}"
Margin
=
"2"
Width
=
"80"
Height
=
"30"
VerticalAlignment
=
"Center"
/>
</
DataTemplate
>
</
localStyles:CustomGroupHeaderContentTemplateSelector.HorizontalResourceTemplate
>
<
localStyles:CustomGroupHeaderContentTemplateSelector.VerticalResourceTemplate
>
<
DataTemplate
>
<
telerik:LayoutTransformControl
VerticalAlignment
=
"Center"
>
<
telerik:LayoutTransformControl.LayoutTransform
>
<
RotateTransform
Angle
=
"0"
/>
</
telerik:LayoutTransformControl.LayoutTransform
>
<
ContentPresenter
Content
=
"{Binding FormattedName}"
Margin
=
"5"
Width
=
"60"
Height
=
"23"
MaxHeight
=
"23"
MinHeight
=
"23"
/>
</
telerik:LayoutTransformControl
>
</
DataTemplate
>
</
localStyles:CustomGroupHeaderContentTemplateSelector.VerticalResourceTemplate
>
</
localStyles:CustomGroupHeaderContentTemplateSelector
>
Is the webcam control capable of using Onvif compatible net cameras? Onvif is a protocol and hundreds of security cameras support it, see: https://www.onvif.org/ for further details.
Windows 10 2004 also supports it. But before I buy such a camera I wanted to know if the webcam control can use it? https://blogs.windows.com/windowsdeveloper/2019/10/15/announcing-windows-10-support-for-network-cameras/.
More details to connect a camera, here: https://blogs.windows.com/windowsdeveloper/2019/10/10/connecting-network-cameras-to-windows-10-devices/#q0HZLYwmvHbx7F2e.97.
Thanks
Mike
Hello,
A colleague of mine handed to me a project he has previously created. He has used Telerik .dll libraries from "Telerik UI controls for WPF". I have installed this extension trial and I would expect these libraries would automatically load in my VS2019. It is not the case unfortunatelly. I have to delete them and manually add them again. I think the problem is with versions of the libraries but there are plenty of them used and it is hard to do it all manually. What am I doing wrong? Thanks a lot
Kind regards
Jan