In a RadLayoutControl I use LayoutControlTabGroup.
I can set the background of the Item's but not on the "empty" space, is there some way to do that.
<telerik:RadLayoutControl >
<telerik:LayoutControlTabGroup Background="White">
<telerik:LayoutControlTabGroupItem Header="Tab 1" Background="Red">
<Button Content="Item 1" />
</telerik:LayoutControlTabGroupItem>
<telerik:LayoutControlTabGroupItem Header="Tab 2" Background="Blue">
<Button Content="Item 2" />
</telerik:LayoutControlTabGroupItem>
</telerik:LayoutControlTabGroup>
</telerik:RadLayoutControl>
Hi ,
We have integrated RadRichTextBox into our WPF (C#) application and are trying to add RadCallout as a custom context menu. since the control is being created entirely in code-behind without XAML ,we are encountering implementation challenges.
Our expectation is that when a user selects text and right-clicks to choose the RadCallout option, the selected text should appear inside the callout type.Could you please guide us on how to achieve this?
Hello im using telerik version 2021.3.909
I have a RadDocking with a lot of RadPanes that are created with DockingPaneFactory
Most of those panes are FloatingDockable which means when i move my main screen the the 2nd(or any other) monitor those RadPanes stays afloat on the first screen.
I know i can change all of them to docking panels and this will solve my problem, but because i have a lot of RadPanes i cannot place them with Dock.Left/Right/etc
My goal is that all my RadPanes will move when the main window is moving(or resizing)
Hi,
I have a window that has a RadPropertyGrid and UserControl that contains five buttons. I want to make the screen full while clicking on maximize button. Now as I have fixed height and width. Maximize button is not working. Can you please help me out.
<Window x:Class="WPF.Views.NoteEdit"
xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation"
xmlns:customcontrol="clr-namespace:WPF.CustomControl"
xmlns:local="clr-namespace:WPF.Views"
mc:Ignorable="d"
x:Name="vwNoteEditWindow"
Title="NoteEdit" Height="680" Width="750">
<Grid Height="564" VerticalAlignment="Top" >
<Grid HorizontalAlignment="Center">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="*" />
<ColumnDefinition Width="Auto"/>
</Grid.ColumnDefinitions>
<Grid.RowDefinitions>
<RowDefinition Height="Auto"/>
<RowDefinition Height="*"/>
</Grid.RowDefinitions>
<telerik:RadLayoutControl
Name="PropertyGridContainer"
Margin="5"
VerticalAlignment="Top"
HorizontalAlignment="Center"
BorderThickness="0"
Orientation="Vertical">
</telerik:RadLayoutControl>
</Grid>
<Grid VerticalAlignment="Bottom">
<customcontrol:RadPropertyWindowButtons x:Name="ucPropertyButtons" Height="44" VerticalAlignment="Top" HorizontalAlignment="Center" Loaded="RadPropertyWindowButtons_Loaded" CustomCancelClick="btn_Cancel_Click" CustomExitClick="btn_Exit_Click" />
</Grid>
</Grid>
</Window>
User control :
<UserControl x:Class="WPF.CustomControl.RadPropertyWindowButtons"I am developing HMI Tool using Layoutcontrol.
I added Control(Button) to LayoutControl using LayoutControlToolBoxView.
What should I do if I want to receive the button's Event?
Hi, I'm new to Telerik and have the following problem.
I am currently using the LayoutControlSplitter.
The problem is that if I move the splitter right to the end of the window it goes outside the window.
Code:
<Grid> <telerik:RadLayoutControl> <telerik:LayoutControlExpanderGroup Header="Expander group" /> <telerik:LayoutControlSplitter /> <Button Content="Button" /> </telerik:RadLayoutControl></Grid>How can I fix the problem? Thank you very much!

I've like to start with a blank LayoutControl and allow a user to drop UI Elements onto it. Are there any examples on how this could be done?
Thanks

Hello,
I have a View which I want to split into 4 sub-parts, flexibly. To do this I tried to take advantage of the RadLayoutControl. In one of the 4 sub-, I place a RadGridView which binds to a collection giving it exactly 1000 rows. The performance with this configuration is terrible, and not usable.
If I comment out the usage of the RadLayoutControl and it's sub-elements, and just show the same GridView, the performance is fine.
I am aware of the performance restrictions on the RadGridView, please see:
https://docs.telerik.com/devtools/wpf/controls/radgridview/troubleshooting/performance
https://docs.telerik.com/devtools/wpf/controls/radgridview/performance/tips-tricks
which are somewhat redundant as they show the same information.
Most likely the "problem" is:
RadGridView is placed in a control that measures its children with infinity - such controls are:
ScrollViewer
StackPanel (when vertical it measures with infinite height and when horizontal - with infinite width)
Grid with RowDefinition Height="Auto" or ColumnDefinition Width="Auto".
I do not place the GridView in any Grid where Height="Auto" or ColumnDefinition Width="Auto".
However, looking at the visual trees in snoop, it is clear that "LayoutControlGroup", "LayoutControlExpanderGroup" etc. all add their own Grids and ScrollViewers.
How can I then put a GridView inside of a nested set of Layout Controls and get it to work normally?
For your information, my nested Layout Controls are very similar to those in the Demo Code Samples for "Layout Control", "First Look". Nothing special.
Thanks,
Mark
Hi, I have a hierarchy that looks something like this:
<RadLayoutControl>
<LayoutGroup>
<LayoutExpanderGroup>
<SomeControl/>
</LayoutExpanderGroup>
<LayoutExpanderGroup>
<RadGridView/>
</LayoutExpanderGroup>
</LayoutGroup>
</RadLayoutControl>
My RadGridView has many columns and rows and so causes the entire <RadLayoutControl> to scroll. Is it possible to configure this view so that only the <LayoutExpanderGroup> that contains the <RadGridView> will scroll?
Any help would be appreciated.
