I have a RadTabControl with multiple RadTabItems. these items are coded on my xaml as each items have different source/layout. I can't use ItemsSource.
Now I want to bind the selected TabItem on a property in my ViewModel. I want to use the SelectedItem but I don't know how I can relate this to the each TabItems.
Sample: Please not that each RadTabItem are coded on my xaml and not via template.
<telerik:RadTabControl x:Name="_TestControl" SelectedItem ="{Bind}">
<telerik:RadTabItem Header="ITEM 1">
</telerik:RadTabItem>
<telerik:RadTabItem Header="ITEM 2">
</telerik:RadTabItem>
</telerik:RadTabControl>
Hello.
We are use RadGridView (2018.1.116.45). We have RadGridView, which contains 1-100 rows and 10- some thousand columns. Data update is very slowly and interface is slows down when splitter (horizontal or vertical) is uses. What is a problem? where is "RadGridView for WPF is the ultimate grid control that provides outstanding performance" ?
Hi,
How can I completely remove or hide Context Menu (aka Copy/Past menu) appearing when I'm right-clicking on the `telerik:RadMaskedTextInput`?
Hello,
I have a very straight forward example:
<
Window
x:Class
=
"TelerikWpfApp2.MainWindow"
xmlns:telerik
=
"http://schemas.telerik.com/2008/xaml/presentation"
Title
=
"MainWindow"
Height
=
"350"
Width
=
"525"
>
<
telerik:RadDocking
x:Name
=
"radDocking"
>
<
telerik:RadSplitContainer
>
<
telerik:RadPaneGroup
x:Name
=
"Group1"
>
<
telerik:RadPane
x:Name
=
"Pane1"
Header
=
"Server Explorer"
CanFloat
=
"False"
/>
<
telerik:RadPane
x:Name
=
"Pane2"
Header
=
"Server"
CanFloat
=
"False"
/>
</
telerik:RadPaneGroup
>
</
telerik:RadSplitContainer
>
</
telerik:RadDocking
>
</
Window
>
Using the Office2019 theme this gives a blue border for the active pane (see screenshot). The blue highlighted header is fine for me, but I'd like to get rid of the blue border and struggled to do so for the last 6 hours and am at a loss.
Hello!
We are experiencing difficulty supporting the RadGridView's Multi-Selection capabilities when our end-users shift-click directly on the checkbox inside the cell of a GridViewSelectColumn.
What we expect to see is everything in between the originally selected row and the shift-clicked row would be selected. What we see happen is the original row getting selected and only the shift-clicked row getting marked as selected.
What can we do to make sure the act of shift-clicking directly on the checkbox that comes with the GridViewSelectColumn yields the same multi-selection behavior we see when shift-clicking on any other portion of the cell?
I'm using a RadComboBox with a data template which is bound to ItemTemplate:
<telerik:RadComboBox
AlternationCount="1"
Grid.Row="1" Grid.Column="1" Grid.ColumnSpan="2"
ItemTemplate="{StaticResource ComboBoxCustomTemplate}"
ItemsSource="{Binding Rates}"
SelectedItem="{Binding SelectedRate}"
TextSearch.TextPath="FormattedDescription"
IsEditable="True"
EmptyText="Select a Rate"></telerik:RadComboBox>
<DataTemplate x:Key="ComboBoxCustomTemplate">
<Grid Margin="5,5,5,5" Width="300">
<Grid.ColumnDefinitions>
<ColumnDefinition Width="30" />
<ColumnDefinition Width="30" />
<ColumnDefinition />
</Grid.ColumnDefinitions>
<TextBlock Grid.Column="0" FontWeight="Bold" Text="{Binding Code}" />
<TextBlock Grid.Column="1" HorizontalAlignment="Right"><Run Text="{Binding Rate}"></Run>%</TextBlock>
<TextBlock Grid.Column="2" Text="{Binding Description}" Margin="10, 0" />
</Grid>
</DataTemplate>
Can you tell me how to get the rows in the drop down to use an alternating background colour?
Using MVVM so prefer to do this in XAML not code behind if possible.
When I set the StyleManager.ApplicationTheme to Windows8Touch, it breaks the RadTabControl's Align functionality.
To explain, I created a simple Telerik application whose main window consisted of a RadTabControl. The controls tabs are on the left hand side and I use Align="Justify" to make them space out evenly on that left side (taking up all the available space). It looks great
<
Grid
>
<
tk:RadTabControl
VerticalAlignment
=
"Stretch"
Align
=
"Justify"
TabStripPlacement
=
"Left"
TabOrientation
=
"Vertical"
>
<
tk:RadTabItem
Header
=
"First"
/>
<
tk:RadTabItem
Header
=
"Second"
/>
<
tk:RadTabItem
Header
=
"Third"
/>
</
tk:RadTabControl
>
</
Grid
>
But THEN I go into main MainWindow constructor and place this just before the call to InitializeComponent()
StyleManager.ApplicationTheme = new Windows8TouchTheme();
Suddenly the Align="Justify" stops working. The tab control buttons are all aligned at the top
I've attached images showing you what I mean. "BeforeTheme.jpg" is the application without the Windows8Theme, buttons nicely spead out.
"WithWindows8Theme.jpg". shows after I add it and the problem.
Hi
Having grids displaying scientific data - I want to include math symbols with subscript and superscript in the column headers. Xaml markup is sufficient to display the symbols. How do I add the column headers in code. They are read from an extended metadatabase dependent on the users choices, so static xaml styles/templates are not an option. The symbols and column captions may be combined into one header text or divided between two header rows, what ever is convenient.
How can this be done?
/Brian
I am using implicit styles with UI for WPF. To customize some of the controls I have been copying styles and/or templates from the styles in the Telerik UI for WPF R3 2020\Themes.Implicit\WPF40\Fluent\Themes folder. This has been working fine but I am curious about the namespaces.
The styles I am copying make reference to a namespace called telerik1. After copying the style I initially was adding the telerik1 namespace to my custom style xaml file. That worked fine. More recently, instead of adding the namespace, I have been doing a search/replace to replace all occurrences of "telerik1" with "telerik". This also works fine.
I prefer just replacing "telerik1" with "telerik" and not adding the namespace. Are there any issues or downsides with that approach?