I'm currently running Visual Studio 2022 64-bit, latest version on Windows 11, latest version. My project is targeting .NET Framework 4.8. I'm running the latest version of the Telerik Tools for WPF R2 2022 SP1.
I'm attempting to create a custom implementation of RadWindow by inheriting from it, for example, my base class looks like:
Namespace Windows
Partial Public Class TBaseRadWindow
Inherits Telerik.Windows.Controls.RadWindow
Implements System.ComponentModel.INotifyPropertyChanged, IDisposable
....
End Class
End Namespace
When I show my derived Window which comes from this class, I get a tiny, blank RadWindow with no chrome. Based on my reading, it appears this is caused by NoXAML and the need for the styles to be added to the application's ResourceDictionary. I'm attempting to follow the instructions from this forum post: https://www.telerik.com/forums/unable-to-display-a-radwindow
The forum post says to add these resources to the MergedDictionary this way:
However, when I add these three items to my MergedDictionaries (I have one already that works fine) when I compile I get an error "IO Exception: Cannot location resource "themes/system.windows.xaml".
My project references System.Windows, Telerik.Windows.Controls, and many others. Where can I get this system.windows.xaml from?
Dear Teleriker,
I have a grid using RadGridView with grouping like below image.
I developed a context menu based on the GridViewHeaderCell.
Actually, I would have the behavior like that: When I click on an item of Context Menu (Expand All or Collapse All), it will expand/collapse only the sub-groups which are under the same group.
For example, in the image below, as I'm currently on the group "Cash" of group parent "Asset...Pictet & Cie (Suisse)", I expect that it will close all the groups under the group parent "Asset...Pictet & Cie (Suisse)" (like:Cash, Share, Bonds...) but let expanded other groups (like: group "Cash" under group parent "Asset...First Americain National Bank".
Is there any solution for that?
Many thanks for your help,
Minh
Tried to adapt the ScheduleView and TimeBar (MiniMap) example. from the WPF Example Controls App.
As in the example the ScheduleView and TimeBar lie in the same column. As in the example TimeBars VisiblePeriodStart is bound to CurrentDate of MiniMapScheduleView. Visible Days of MiniMapScheduler are calculated by a Converter from TimeBar VisiblePeriod..
The problem is that the underlying ScheduleView is only updating its view when clicking on the TimbeBar (even on startup/when itemsource is new bound)).
When scrolling or zooming in the TimeBar all shown MiniMap appointments vanish except the ones which are in the area "selected" by the TimeBer Selector.
Only when clicking again in the TImeBar (Selection) all MIniMap appointment appear again.
in the mentioned example the underlying ScheduleView updates instant and accordingly to the timebars zoom level.
Tried already:
Manually Update Scheduler (UpdateLayout() etc. in VisiblePeriodChanged- no effect.
Copied the bound Appointments observable collection from the MasterScheduleView to an own MiniMapAppointmentsCollection (thought had maybe something to do with virtuilaziation) - no effect.
Automatically updating the view when changing the underlying parameters (ItemsSource,VisiblePeriod, VisibleDays etc. etc) should be something very essential, am i missing something?
The NavigationPane is not shown in the following example.
I "almost" follewed the description. I removed DataContext to get my pdf file rendered.
<Grid
<Grid.RowDefinitions> <RowDefinition Height="Auto"/> <RowDefinition Height="Auto"/> <RowDefinition/> </Grid.RowDefinitions>
<telerik:RadPdfViewerToolBar RadPdfViewer="{Binding ElementName=pdfViewer, Mode=OneTime}"/> <Grid Grid.Row="2"> <Grid.ColumnDefinitions> <ColumnDefinition Width="Auto" /> <ColumnDefinition/> </Grid.ColumnDefinitions> <telerik:RadPdfViewerNavigationPane Grid.Column="0" RadPdfViewer="{Binding ElementName=pdfViewer, Mode=OneTime}" PaneWidth="300" /> <telerik:RadPdfViewer Grid.Column="1" x:Name="pdfViewer" DocumentSource="{Binding PdfFileName, Mode=OneWay, Converter={StaticResource PdfDocumentSourceValueConverter}, ConverterParameter=ReadOnDemand}" RenderOptions.BitmapScalingMode="NearestNeighbor"/> </Grid> </Grid>
Hi Telerikers,
I have a RadCartesianChart with 2 series: Line and Bar. I would expect that the labels of LineSeries should be out of the bar item zone.
Below is my current situation with the red highlighted in the problem. All I need is to put out the label "-0.02%" from the orange bar item zone.
I would be much appreciated if you guys have a solution for that.
Many thanks in advance.
Windows 11 build 22000.795
XAML Code:
<telerik:RadWindow x:Class="WpfApp1.MainWindow"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
xmlns:helpers="clr-namespace:Telerik.Windows.Controls.Theming.Helpers;assembly=Telerik.Windows.Controls"
helpers:WindowEffectsHelper.BackdropMaterial="Acrylic"
Header="RadWindow" Style="{StaticResource RadWindowStyle}" Width="400" Height="400">
<Grid>
</Grid>
</telerik:RadWindow>App.xaml file:
<Application x:Class="WpfApp1.App"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:local="clr-namespace:WpfApp1"
xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation">
<Application.Resources>
<ResourceDictionary>
<ResourceDictionary.MergedDictionaries>
<ResourceDictionary Source="/Telerik.Windows.Themes.Windows11;component/Themes/System.Windows.xaml" />
<ResourceDictionary Source="/Telerik.Windows.Themes.Windows11;component/Themes/Telerik.Windows.Controls.xaml" />
<ResourceDictionary Source="/Telerik.Windows.Themes.Windows11;component/Themes/Telerik.Windows.Controls.Input.xaml" />
<ResourceDictionary Source="/Telerik.Windows.Themes.Windows11;component/Themes/Telerik.Windows.Controls.Navigation.xaml" />
<ResourceDictionary Source="/Telerik.Windows.Themes.Windows11;component/Themes/Telerik.Windows.Controls.Data.xaml" />
</ResourceDictionary.MergedDictionaries>
</ResourceDictionary>
</Application.Resources>
</Application>App.xaml.cs file:
using System.Windows;
namespace WpfApp1
{
public partial class App : Application
{
protected override void OnStartup(StartupEventArgs e)
{
new MainWindow().Show();
base.OnStartup(e);
}
}
}Result - see in attachment (no effect)
I have a number of xaml files that are are using telerik masked inputs, specifically
and will likely be using more. These are being used to make sure the user is entering the correct input. Once the user enters the input the input data needs to run through a multiconverter. I have not been able to find a solution to bind the input data to a muliconverter. Is this possible?
I have been able to make this work in the RadGrid columns using the published work around which does not work in this context and am looking for either a way to make this work or if this is even possible.
For example, below is one of the date time inputs. How can the bound data, singleSpeedDataInt, be run through a multi binding converter?
<telerik:RadMaskedDateTimeInputWhat do I need to change for me to see the Subject above correctly?
And how do I make each AppointmentItem (in MonthView) double the size from now on?
I want to do something in the style of Outlook so that the change (in terms of design) of working hours can be noticed