I am having some trouble with maximizing a RadRibbonWindow with the taskbar is at the top or on the left of the screen. I have set the maximum height and the maximum width of the window, which raises some other issues such as when the task bar is moved (which would rarely happen so I can overlook that at the moment).
In the attached Maximized.png image, you can see that it is only scaling to the size of the screen area without the taskbar, but the top is right at 0,0 on the screen which puts it under my taskbar.
How can I make it so that it will not be under the task bar?
Thanks
I'm building keyboard navigation for our grids that relies heavily on the ordering of items in the visual tree. The problem I'm having is that the GridViewToggleButton for a GridViewRow with a nested grid comes after the nested grid in the visual tree.
I've been searching through Telerik.GridView.xaml of the appropriate theme to try to find the control template where I could change the ordering of controls, but I have been unable to find the control template responsible.
Can you tell me which control template I need to edit for a row inside a grouping that has a nested grid inside?

hi
i used fluent theme for radwindow
but that is transparent!
In my gridview I want to prevent the user from deleting entire rows but allow to delete (multiple cells) by pressing the DEL-key. Works fine so far but how can I prevent that the user accidentally selectes multiple rows and presses delete. So far I just count the number of selected fields for delete and show a warning but there's got to be a nicer way.
Is there any property in the radgridview that tells me, if multiple rows are selected?
Row selection as such is needed for copy/paste so removing anything is not an option.
thanks for your help in advance!
Jan

I ran the demo called Resize Map Shapes with Mouse Dragging (https://docs.telerik.com/devtools/wpf/controls/radmap/how-to/howto-resize-map-shapes-with-mouse-dragging)
which I downloaded from the associated web page (https://www.telerik.com/blogs/radmap-for-silverlight-wpf-how-to-resize-map-shapes-with-mouse-dragging)
and it worked fine.
I updated the controls to WPF40 version 2018.3.1016.40 and it it now acts differently. When dragging, it loses mouse capture. If I release the left mouse button and move the cursor back over the draggable circle it then continues to drag (won't do anything if I don't release the left mouse button).
I also tried this using WPF45 version 2018.3.1016.45 and the same problem (and changing my app's .Net version to 4.6.1).
Attached are two animated gifs showing the original version working and the replaced dll version's odd behavior.
I tracked GotMouseCapture, IsMouseCaptureChanged and LostMouseCapture and recorded this:
12:39.122 IsMouseCaptureChanged
12:39.122 GotMouseCapture
12:39.122 IsMouseCaptureChanged
12:39.122 LostMouseCapture
I didn't change the MainWindow.xaml.cs at all. I just removed the references to the 3 Telerik controls, removed the controls from the binaries folder, added the newer Telerik controls to the binaries folder, and added the references back. I'm using Visual Studio 2017.
Below is my radcombobox with checkbox multi select dropdown.
<telerik:RadComboBox x:Name="StatusFilter" Width="150" Margin="10,1,10,2" HorizontalAlignment="Stretch" HorizontalContentAlignment="Left" CanAutocompleteSelectItems="True" EmptySelectionBoxTemplate="{StaticResource EmptyTemplate}" EmptyText="Status" IsEditable="False" ItemsSource="{Binding StatusesComboBox}" SelectedValue="{Binding CourseStatusId, Mode=TwoWay}" SelectedValuePath="Id"> <telerik:RadComboBox.ItemTemplate> <DataTemplate> <CheckBox Height="16" Margin="0" HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Content="{Binding Value.DisplayName}" IsChecked="{Binding IsSelected}" /> </DataTemplate> </telerik:RadComboBox.ItemTemplate> <telerik:RadComboBox.SelectionBoxTemplate> <DataTemplate> <TextBlock Text="{Binding ItemsSource.SelectedItemsText, ElementName=StatusFilter, Mode=OneWay}" /> </DataTemplate> </telerik:RadComboBox.SelectionBoxTemplate> </telerik:RadComboBox>
The issue is the empty text doesn't show. It's just blank. Is there anyway to get this to show? I suspect it has to do with the custom data templates. Can anyone help me with this?
Thanks.
I have a gridview with another gridview embedding in the detail.
When a row is opened and the detail is displayed the grid shows fine.
When the horizonal scroll bar is used the detail grid will disappear regardless to how many columns are still needed to display in the detail.
Please see bellow gridviews and screenshots attached
<telerik:RadGridView Grid.Column="0" CanUserSelect="False" Visibility="{Binding ShowMSD,Converter={StaticResource InvertedBooleanToVisibilityConverter}}" IsBusy="{Binding Source={StaticResource Locator},Path=BrowsePackagePageViewmodel.IsBusy}" FilterOperatorsLoading="OnFilterOperatorsLoading" IsTabStop="False" AutoGenerateColumns="False" AlternateRowBackground="Gainsboro" AlternationCount="2" RowDetailsTemplate="{StaticResource BrowseDetailTemplate}" ShowColumnFooters="False" FontSize="16" GridLinesVisibility="Both" ShowColumnHeaders="True" ShowGroupPanel="False" RowIndicatorVisibility="Collapsed" IsReadOnly="True" Margin="0,8" ItemsSource="{Binding FilteredXrefStockLevels}" FrozenColumnsSplitterVisibility="Collapsed" EnableRowVirtualization="True" EnableColumnVirtualization="True" IsFilteringAllowed="True" x:Name="GridViewItems" CanUserSortColumns="True" > <i:Interaction.Triggers> <i:EventTrigger EventName="RowDetailsVisibilityChanged"> <command:EventToCommand PassEventArgsToCommand="True" Command="{Binding LoadAllStockCommand, Mode=OneWay}" /> </i:EventTrigger> </i:Interaction.Triggers> <telerik:RadGridView.Columns> <telerik:GridViewDataColumn IsFilterable="False" IsSortable="False" MinWidth="0" HeaderTextAlignment="Center" > <telerik:GridViewDataColumn.Header > <TextBlock Text="" Margin="0" Padding="0" /> </telerik:GridViewDataColumn.Header> <telerik:GridViewDataColumn.CellTemplate> <DataTemplate > <Grid VerticalAlignment="Center" HorizontalAlignment="Center" Width="Auto" > <CheckBox d:DataContext="{d:DesignInstance vm:ItemManfXrefStockLevel}" telerik:TouchManager.TouchMode="None" IsChecked="{Binding IsSelected,Mode=TwoWay}" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" > <!--<CheckBox.LayoutTransform> <ScaleTransform ScaleX="2" ScaleY="2" /> </CheckBox.LayoutTransform>--> </CheckBox> </Grid> </DataTemplate> </telerik:GridViewDataColumn.CellTemplate> </telerik:GridViewDataColumn> <ctrls:InoToggleColumn DataMemberBinding="{Binding DetailExpanded}" /> <!-- Part Number --> <telerik:GridViewDataColumn Width="Auto" ShowDistinctFilters="False" x:Name="ColPartNumber" DataMemberBinding="{Binding Z_No}"> <telerik:GridViewDataColumn.Header> <StackPanel Orientation="Vertical" Margin="8"> <TextBlock Text="{Binding Source={StaticResource AppResources},Path=BrowsePackagePageResources.PartNumberColName1}" /> <TextBlock Text="{Binding Source={StaticResource AppResources},Path=BrowsePackagePageResources.PartNumberColName2}" /> </StackPanel> </telerik:GridViewDataColumn.Header> </telerik:GridViewDataColumn> <!-- Description --> <telerik:GridViewDataColumn Width="*" MinWidth="300" ShowDistinctFilters="False" x:Name="ColDesc" DataMemberBinding="{Binding Desc}" > <telerik:GridViewDataColumn.Header> <StackPanel Margin="8"> <TextBlock Text="{Binding Source={StaticResource AppResources},Path=BrowsePackagePageResources.DescriptionColName}" /> </StackPanel> </telerik:GridViewDataColumn.Header> </telerik:GridViewDataColumn> <!-- Name Manf --> <telerik:GridViewDataColumn DataMemberBinding="{Binding NameManf}" UniqueName="NameManf" ShowDistinctFilters="False" IsVisible="{Binding Source={StaticResource Locator},Path=SettingsService.IsMasterManfManfNo}" > <telerik:GridViewDataColumn.Header> <StackPanel Orientation="Vertical" Margin="8"> <TextBlock Text="{Binding Source={StaticResource AppResources},Path=BrowsePackagePageResources.NameManfFieldName}" /> </StackPanel> </telerik:GridViewDataColumn.Header> </telerik:GridViewDataColumn> <!-- Manfno --> <telerik:GridViewDataColumn DataMemberBinding="{Binding ManfNo}" UniqueName="ManfNo" ShowDistinctFilters="False" IsVisible="{Binding Source={StaticResource Locator},Path=SettingsService.IsMasterManfManfNo}" > <telerik:GridViewDataColumn.Header> <StackPanel Orientation="Vertical" Margin="8"> <TextBlock Text="{Binding Source={StaticResource AppResources},Path=BrowsePackagePageResources.ManfNoFieldName}" /> </StackPanel> </telerik:GridViewDataColumn.Header> </telerik:GridViewDataColumn> <!-- package count --> <telerik:GridViewDataColumn Width="Auto" ShowDistinctFilters="False" x:Name="ColPackages" TextAlignment="Right" DataMemberBinding="{Binding PackageCount}" > <telerik:GridViewDataColumn.Header> <StackPanel Margin="8"> <TextBlock Text="{Binding Source={StaticResource AppResources},Path=BrowsePackagePageResources.PackageCountColName1}" /> <TextBlock Text="{Binding Source={StaticResource AppResources},Path=BrowsePackagePageResources.PackageCountColName2}" /> </StackPanel> </telerik:GridViewDataColumn.Header> </telerik:GridViewDataColumn> <!-- Quantity --> <telerik:GridViewDataColumn Width="Auto" TextAlignment="Right" ShowDistinctFilters="False" x:Name="ColQtyOnHand" DataMemberBinding="{Binding QtyOnHand}" > <telerik:GridViewDataColumn.Header> <StackPanel Margin="8"> <TextBlock Text="{Binding Source={StaticResource AppResources},Path=BrowsePackagePageResources.QtyOnHandColName1}" /> <TextBlock Text="{Binding Source={StaticResource AppResources},Path=BrowsePackagePageResources.QtyOnHandColName2}" /> </StackPanel> </telerik:GridViewDataColumn.Header> </telerik:GridViewDataColumn> <!-- Quantity --> <telerik:GridViewDataColumn Width="Auto" TextAlignment="Right" ShowDistinctFilters="False" DataMemberBinding="{Binding VItemManfXrefStockLevel.ScrapPerInsertQty}" DataFormatString="{}{0:n0}" > <telerik:GridViewDataColumn.Header> <StackPanel Margin="8"> <TextBlock Text="{Binding Source={StaticResource AppResources},Path=BrowsePackagePageResources.ScrapPerInsertQtyColName1}" /> <TextBlock Text="{Binding Source={StaticResource AppResources},Path=BrowsePackagePageResources.ScrapPerInsertQtyColName2}" /> </StackPanel> </telerik:GridViewDataColumn.Header> </telerik:GridViewDataColumn> <!-- Quantity --> <telerik:GridViewDataColumn Width="Auto" TextAlignment="Right" ShowDistinctFilters="False" DataFormatString="{}{0:P2}" DataMemberBinding="{Binding VItemManfXrefStockLevel.ScrapPerKitPercent}" > <telerik:GridViewDataColumn.Header> <StackPanel Margin="8"> <TextBlock Text="{Binding Source={StaticResource AppResources},Path=BrowsePackagePageResources.ScrapPerKitPercentColName1}" /> <TextBlock Text="{Binding Source={StaticResource AppResources},Path=BrowsePackagePageResources.ScrapPerKitPercentColName2}" /> </StackPanel> </telerik:GridViewDataColumn.Header> </telerik:GridViewDataColumn> <!-- Quantity --> <telerik:GridViewDataColumn Width="Auto" TextAlignment="Right" ShowDistinctFilters="False" DataMemberBinding="{Binding VItemManfXrefStockLevel.MinLevel}" > <telerik:GridViewDataColumn.Header> <StackPanel Margin="8"> <TextBlock Text="{Binding Source={StaticResource AppResources},Path=BrowsePackagePageResources.MinLevelColName1}" /> <TextBlock Text="{Binding Source={StaticResource AppResources},Path=BrowsePackagePageResources.MinLevelColName2}" /> </StackPanel> </telerik:GridViewDataColumn.Header> </telerik:GridViewDataColumn> <!-- Quantity --> <telerik:GridViewDataColumn Width="Auto" TextAlignment="Right" ShowDistinctFilters="False" DataMemberBinding="{Binding VItemManfXrefStockLevel.MaxLevel}" > <telerik:GridViewDataColumn.Header> <StackPanel Margin="8"> <TextBlock Text="{Binding Source={StaticResource AppResources},Path=BrowsePackagePageResources.MaxLevelColName1}" /> <TextBlock Text="{Binding Source={StaticResource AppResources},Path=BrowsePackagePageResources.MaxLevelColName2}" /> </StackPanel> </telerik:GridViewDataColumn.Header> </telerik:GridViewDataColumn> <!-- Quantity --> <telerik:GridViewDataColumn Width="Auto" TextAlignment="Right" ShowDistinctFilters="False" DataMemberBinding="{Binding VItemManfXrefStockLevel.MinPkgLevel}" > <telerik:GridViewDataColumn.Header> <StackPanel Margin="8"> <TextBlock Text="{Binding Source={StaticResource AppResources},Path=BrowsePackagePageResources.MinPkgColName1}" /> <TextBlock Text="{Binding Source={StaticResource AppResources},Path=BrowsePackagePageResources.MinPkgColName2}" /> </StackPanel> </telerik:GridViewDataColumn.Header> </telerik:GridViewDataColumn> <!-- Quantity --> <telerik:GridViewDataColumn Width="Auto" TextAlignment="Right" ShowDistinctFilters="False" DataMemberBinding="{Binding VItemManfXrefStockLevel.ReturnNotRequired}" > <telerik:GridViewDataColumn.Header> <StackPanel Margin="8"> <TextBlock Text="{Binding Source={StaticResource AppResources},Path=BrowsePackagePageResources.ReturnNotRequiredColName1}" /> <TextBlock Text="{Binding Source={StaticResource AppResources},Path=BrowsePackagePageResources.ReturnNotRequiredColName2}" /> </StackPanel> </telerik:GridViewDataColumn.Header> </telerik:GridViewDataColumn> <!-- Quantity --> <telerik:GridViewDataColumn Width="Auto" TextAlignment="Left" ShowDistinctFilters="True" ShowFieldFilters="False" DataMemberBinding="{Binding VItemManfXrefStockLevel.packName}" > <telerik:GridViewDataColumn.Header> <StackPanel Margin="8"> <TextBlock Text="{Binding Source={StaticResource AppResources},Path=BrowsePackagePageResources.PackageTypeColName1}" /> <TextBlock Text="{Binding Source={StaticResource AppResources},Path=BrowsePackagePageResources.PackageTypeColName2}" /> </StackPanel> </telerik:GridViewDataColumn.Header> </telerik:GridViewDataColumn> </telerik:RadGridView.Columns> </telerik:RadGridView><DataTemplate x:Key="BrowseDetailTemplate"> <StackPanel d:DataContext="{d:DesignInstance Type=browse:ItemManfXrefStockLevel}"> <telerik:RadGridView AutoGenerateColumns="False" ItemsSource="{Binding AllStockViewModels}" SelectedItem="{Binding Source={StaticResource Locator},Path=BrowsePackagePageViewmodel.AllStockViewModel}" FilterOperatorsLoading="Detail_OnFilterOperatorsLoading" FrozenColumnsSplitterVisibility="Collapsed" IsFilteringAllowed="True" CanUserSortColumns="True" SelectionMode="Single" ShowColumnFooters="False" FontSize="16" GridLinesVisibility="Both" ShowColumnHeaders="True" ShowGroupPanel="False" RowIndicatorVisibility="Collapsed" IsReadOnly="True" Margin="60,20" x:Name="DetailGrid" EnableRowVirtualization="True" EnableColumnVirtualization="True" > <telerik:RadContextMenu.ContextMenu > <telerik:RadContextMenu Opened="RadContextMenu_OnOpened"> <telerik:RadMenuItem Header="{Binding Source={StaticResource AppResources},Path=BrowsePackagePageResources.ChangeQuantityMenuText}" Command="{Binding Source={StaticResource Locator},Path=BrowsePackagePageViewmodel.ChangeOnHandQtyCommand}" /> </telerik:RadContextMenu> </telerik:RadContextMenu.ContextMenu> <telerik:RadGridView.Columns> <telerik:GridViewDataColumn IsFilterable="False" IsSortable="False" MinWidth="0" HeaderTextAlignment="Center" > <telerik:GridViewDataColumn.Header > <TextBlock Text="" Margin="0" Padding="0" /> </telerik:GridViewDataColumn.Header> <telerik:GridViewDataColumn.CellTemplate> <DataTemplate > <Grid VerticalAlignment="Center" HorizontalAlignment="Center" Width="Auto" > <CheckBox d:DataContext="{d:DesignInstance viewModel:AllStockViewModel}" telerik:TouchManager.TouchMode="None" IsEnabled="{Binding IsAvailable}" IsChecked="{Binding IsSelected,Mode=TwoWay}" HorizontalContentAlignment="Center" VerticalContentAlignment="Center" > <!--<CheckBox.LayoutTransform> <ScaleTransform ScaleX="2" ScaleY="2" /> </CheckBox.LayoutTransform>--> </CheckBox> </Grid> </DataTemplate> </telerik:GridViewDataColumn.CellTemplate> </telerik:GridViewDataColumn> <!-- UID --> <telerik:GridViewDataColumn Width="Auto" ShowDistinctFilters="False" x:Name="colUid" IsVisible="{Binding BrowsePackagePageViewmodel.ShowUID,Source={StaticResource Locator}}" DataMemberBinding="{Binding UID}"> <telerik:GridViewDataColumn.Header> <StackPanel Orientation="Vertical" Margin="8"> <TextBlock Text="{Binding Source={StaticResource AppResources},Path=BrowsePackagePageResources.UIDDetailColName1}" /> </StackPanel> </telerik:GridViewDataColumn.Header> </telerik:GridViewDataColumn> <telerik:GridViewDataColumn DataMemberBinding="{Binding ParentNameLoc}" UniqueName="ParentNameLoc" ShowDistinctFilters="False" > <telerik:GridViewDataColumn.Header> <StackPanel Orientation="Vertical" Margin="8"> <TextBlock Text="{Binding Source={StaticResource AppResources},Path=BrowsePackagePageResources.BinDetailColName}" /> </StackPanel> </telerik:GridViewDataColumn.Header> </telerik:GridViewDataColumn> <telerik:GridViewDataColumn Width="200" DataMemberBinding="{Binding QtyOnHand}" TextAlignment="Right" UniqueName="QtyOnHand" ShowDistinctFilters="False" > <telerik:GridViewDataColumn.Header> <StackPanel Orientation="Vertical" Margin="8"> <TextBlock Text="{Binding Source={StaticResource AppResources},Path=BrowsePackagePageResources.QtyOnHandDetailColName1}" /> <TextBlock Text="{Binding Source={StaticResource AppResources},Path=BrowsePackagePageResources.QtyOnHandDetailColName2}" /> </StackPanel> </telerik:GridViewDataColumn.Header> </telerik:GridViewDataColumn> <telerik:GridViewDataColumn DataMemberBinding="{Binding FifoDate}" DataFormatString="{}{0:d}" UniqueName="FifoDate" ShowDistinctFilters="False" > <telerik:GridViewDataColumn.Header> <StackPanel> <TextBlock Text="{Binding Source={StaticResource AppResources},Path=BrowsePackagePageResources.FifoDateDetailColName1}" /> <TextBlock Text="{Binding Source={StaticResource AppResources},Path=BrowsePackagePageResources.FifoDateDetailColName2}" /> </StackPanel> </telerik:GridViewDataColumn.Header> </telerik:GridViewDataColumn> <telerik:GridViewDataColumn DataMemberBinding="{Binding DateCode}" > <telerik:GridViewDataColumn.Header> <StackPanel> <TextBlock Text="{Binding Source={StaticResource AppResources},Path=BrowsePackagePageResources.DateCodeDetailColName1}" /> <!--<TextBlock Text="{Binding Source={StaticResource AppResources},Path=BrowsePackagePageResources.DateCodeDetailColName2}" />--> </StackPanel> </telerik:GridViewDataColumn.Header> </telerik:GridViewDataColumn> <!-- Extra0 --> <telerik:GridViewDataColumn Width="Auto" ShowDistinctFilters="False" x:Name="colExtra0" IsVisible="{Binding BrowsePackagePageViewmodel.ShowExtra0,Source={StaticResource Locator}}" DataMemberBinding="{Binding VBinMasterAllStock.Extra0}"> <telerik:GridViewDataColumn.Header> <StackPanel Orientation="Vertical" Margin="8"> <TextBlock Text="{Binding BrowsePackagePageViewmodel.NameExtra0,Source={StaticResource Locator}}" /> </StackPanel> </telerik:GridViewDataColumn.Header> </telerik:GridViewDataColumn> <!-- Extra1 --> <telerik:GridViewDataColumn Width="Auto" ShowDistinctFilters="False" x:Name="colExtra1" IsVisible="{Binding BrowsePackagePageViewmodel.ShowExtra1,Source={StaticResource Locator}}" DataMemberBinding="{Binding VBinMasterAllStock.Extra1}"> <telerik:GridViewDataColumn.Header> <StackPanel Orientation="Vertical" Margin="8"> <TextBlock Text="{Binding BrowsePackagePageViewmodel.NameExtra1,Source={StaticResource Locator}}" /> </StackPanel> </telerik:GridViewDataColumn.Header> </telerik:GridViewDataColumn> <!-- Extra2 --> <telerik:GridViewDataColumn Width="Auto" ShowDistinctFilters="False" x:Name="colExtra2" IsVisible="{Binding BrowsePackagePageViewmodel.ShowExtra2,Source={StaticResource Locator}}" DataMemberBinding="{Binding VBinMasterAllStock.Extra2}"> <telerik:GridViewDataColumn.Header> <StackPanel Orientation="Vertical" Margin="8"> <TextBlock Text="{Binding BrowsePackagePageViewmodel.NameExtra2,Source={StaticResource Locator}}" /> </StackPanel> </telerik:GridViewDataColumn.Header> </telerik:GridViewDataColumn> <telerik:GridViewDataColumn DataMemberBinding="{Binding SortKey0}" IsVisible="{Binding Source={StaticResource Locator},Path=BrowsePackagePageViewmodel.IsRemoveDebugMode}" /> <telerik:GridViewDataColumn DataMemberBinding="{Binding SortKey1}" IsVisible="{Binding Source={StaticResource Locator},Path=BrowsePackagePageViewmodel.IsRemoveDebugMode}" /> <telerik:GridViewDataColumn DataMemberBinding="{Binding SortKey2}" IsVisible="{Binding Source={StaticResource Locator},Path=BrowsePackagePageViewmodel.IsRemoveDebugMode}" /> </telerik:RadGridView.Columns> </telerik:RadGridView> </StackPanel> </DataTemplate>Hey,
is it possible to change just the font of the grouped rows? The default and cell fonts should not be changed.I want
to change the font to consolas (mono space font).
Hi,
I need to create new custom indicator for candlestick chart (VWAP & Pivots). I found explanation here (http://docs.telerik.com/devtools/winforms/chartview/series-types/indicators/custom-indicators), but I can't compile the code.
public class DisparityIndexIndicator: ExponentialMovingAverageIndicator
{
public override double GetProcessedValue(int currentIndex){
double close = (this.DataPoints[currentIndex] as IndicatorValueDataPoint).BaseValue;double ema = base.GetProcessedValue(currentIndex);double result = ((close - ema) / ema) * 100;return result;}}
