Hello.
I want to add Custom User control to RadDocument in RadRichTextBox. So I use InlineUiContainer to do that. And add it to paragraph.
And it looks so that I have to define height and width to make it so that it will take correct space in the document layout. If I skip this step then it looks like it takes zero width and height.
Looks strange. Because of course I don't know physical size of element in advance. As workaround I can do some "magic" with Loaded event and extract size of UiElement once it was rendered. And it works. But definitely it looks like a dirty code.
I believe I miss something. Please help me. What am I doing wrong here? :)
By the way when I need to add InlineUiElement to standard WPF RichTextBox it does all calculations of size by itself.
As you can see in the picture the button just gets cut. It only does this if the hight is less than 38
<Grid.RowDefinitions><RowDefinition Height="Auto"/><RowDefinition Height="70"/><RowDefinition Height="*"/></Grid.RowDefinitions><Grid Grid.Row="1" >
<telerik:RadDropDownButton HorizontalAlignment="Right" Margin="0,0,20,10" Background="#EFEFEF" Padding="5,0,0,0"
Height="24" BorderThickness="1" BorderBrush="LightGray" CornerRadius="5" telerik:StyleManager.Theme="Windows11" >
<telerik:RadDropDownButton.Content>
Hi,
Is there a way for a telerik radbutton to only show the image that's chosen for a button?
Opacity is at 100% yet i am still seeing the actual button outline and grey fill/background around my buttons.
See below image.
Thanks
I have a RadBusyIndicator and inside it I have several other controls; the structure is bit complex and there are several DB operations are performed in that and while performing that DB operations we are setting IsBusy property of RadBusyIndicator as per progress to true and false. But after invoking this property keyboard focus is shifted to the main window which is not the correct behavior.
I want my focus on the current control from where I am calling some commands, and it is doing some DB operations.
I have gone through the below solution, but it is not much helpful in my case because the structure of my code is bit complex and I don't want BusyIndication invoked every five seconds as mentioned in this link - "how to restore the focus"
Any help regarding this is much appreciated.
Currently, I am working with RadNavigationView but I feel like I don't need dynamically bound DataContext because each settings tab would be different with various buttons. I tried RadTabControl but it isn't exactly what I'm going for style-wise. If anyone has any ideas please let me know.
Here is what I'm referencing.
Hello,
I just changed all project references from referencing the installed dll's (Progress\Telerik UI for WPF R1 2023\Binaries\WPF45) to nuget version (e.g. Telerik.Windows.Controls.GridView.for.Wpf.Xaml). Unfortunately, this results in some controls not redering at all any more.
I see this especially at <telerik:Label>, <telerik:Button> and <telerik:GroupBox> (using xmlns:telerik="http://schemas.telerik.com/2008/xaml/presentation")
If I instead use the standard WPF <Label> in the exact same XAML file, the label gets rendered.
Is there anything special one has to apply/change/update if changing from the "installed" version of Telerik for WPF to the nuget based version?
Any help or idea much appreciated,
Sebastian
I have the following
For some reason the binding to MyCommand not triggering at all at my view model
Im using MvvmLight RelayCommand if it matters everywhere in my app
P.s
I tried to change Button to RadButton and the result are the same
<UserControl>
<Grid>
<telerik:RadTabControl>
<telerik:RadTabControl.AdditionalContent>
<StackPanel Orientation="horizontal"
DataContext="{Binding RelativeSource={RelativeSource FindAncestor, AnsectorType={x:Type UserControl}}, Path=DataContext}">
<Button Command="{Binding Path=MyCommand}">
</Button>
</StackPanel>
</telerik:RadTabControl.AdditionalContent>
<telerik:RadTabControl.Items>
<telerik:RadItem>
<!-- Here everything works just fine -->
</telerik:RadItem>
</telerik:RadTabControl.Items>
</telerik:RadTabControl>
</Grid>
</UserControl>