Telerik Forums
UI for WPF Forum
0 answers
19 views

Hi
I change a grid with a raddocking in order to allow resizing of space between my two controls.
It woks well but there is a border around pane that I don't want because is not nice inside the context (I highlight it in yellow):

Here the piece of xaml:

<t:RadDocking
	Grid.Row="1" Grid.Column="1"
	HasDocumentHost="False"
	BorderThickness="0">		
	<t:RadSplitContainer
		InitialPosition="DockedRight"
		Visibility="{Binding ComandiGrafici.PercentiliGridVisibility,
			Converter={StaticResource BoolToVis}}"
		BorderThickness="0">
		<t:RadPaneGroup>
			<t:RadPane
				BorderThickness="0"
				PaneHeaderVisibility="Collapsed">
				<local:PercentiliControl 		
                                        Margin="0, 0, 5, 0"/>
			</t:RadPane>
		</t:RadPaneGroup>
		</t:RadSplitContainer>
		<t:RadSplitContainer
			InitialPosition="DockedLeft"
			BorderThickness="0">
			<t:RadPaneGroup
				BorderThickness="0">
				<t:RadPane
					PaneHeaderVisibility="Collapsed"
					BorderThickness="0">
					<WpfPlot
						Loaded="WpfPlot_Loaded"
						Background="Azure"												 
						AxesChanged="WpfPlot_AxesChanged" AllowDrop="True"
						MouseMove="WpfPlot_MouseMove"
						MouseDoubleClick="_wpfPlot_MouseDoubleClick"
						Visibility="{Binding IsGraphicView, Converter={StaticResource BoolToVis}}"
						t:RadContextMenu.ContextMenu="{StaticResource PlotContextMenu}"/>
				</t:RadPane>
			</t:RadPaneGroup>
	</t:RadSplitContainer>
</t:RadDocking>

 

Note that by default the border is double, I hide one setting BorderThickness="0" in RadDocking tag.

Can I hide the second border?
Thank you

Luigi

 

Deltaohm
Top achievements
Rank 3
Bronze
Iron
Iron
 updated question on 18 Apr 2024
10 answers
163 views

Hi There,
When trying to build a tabular Pivot table report with multiple dimensions and attributes it becomes necessary to have the field names of the Row Labels, above the columns where the data appears. The reason is that it otherwise becomes impossible to know what data each column represents in the report making the PivotGrid useless for simple tabular reports. You can see below an instance of the issue and the equivalent report using Excel Pivot tables.

Attached are screenshots from Telerik PivotGrid(no row headers)  and Excel Pivot tables(with row headers).

Can you help suggest a workaround to add row headers or is it scheduled in future release? Thanks!

Nilesh
Top achievements
Rank 1
Iron
 answered on 17 Apr 2024
1 answer
9 views

I have a wpf radtreeview, now I can use left click to select item,

but i want to the selection behavior to be changed to double click, how could I achieve that?

Martin Ivanov
Telerik team
 answered on 16 Apr 2024
1 answer
12 views

Can you please help me to createing the diagram layout algoritham to set diagram, because we cannot set static position of all nodes.

We want these types of layouts to be in the image.

Martin Ivanov
Telerik team
 answered on 16 Apr 2024
1 answer
19 views
Hi
I'm using RadDocking.LoadLayout to save and restore the positions of docked panels.
My application is localized and every string in xaml is set in this form (for instance...):

Header="{DynamicResource ResourceKey={x:Static r:ResourcesKeys.key}}"
Where r:ResourcesKey.key is an index in the language dictionary selected in the application.

When I change the localization with  an existing xml for layout, the headers of panels are read from the xml and are in the previous language.
Ho can I force to rewrite the strings in the right language (without delete the layout xml file)?

Thank you
Luigi

Martin Ivanov
Telerik team
 answered on 16 Apr 2024
0 answers
18 views

Hi Telerik Team,
I'm using the below telerik version 2023.2.718.45

The default style is extracted through Office2016 theme.

For the RadGridView footers, the below are the styles used.

<Style x:Key="DefaultGridViewFooterRowStyle" TargetType="telerik:GridViewFooterRow">
                <Setter Property="Height" Value="35" />
                <Setter Property="BorderThickness" Value="0" />
            </Style>

            <Style x:Key="DefaultGridViewFooterCellStyle" TargetType="telerik:GridViewFooterCell">
                <Setter Property="Background" Value="#F1F1F1F1" />
                <Setter Property="BorderThickness" Value="0" />
                <Setter Property="HorizontalAlignment" Value="Stretch" />
                <Setter Property="HorizontalContentAlignment" Value="Stretch" />
                <Setter Property="FontWeight" Value="Normal" />
                <Setter Property="FontSize" Value="10" />
                <Setter Property="Padding" Value="0" />
            </Style>


But, from where the vertical lines are coming in the footer (Please refer the attachment).
Also, if I perform Column resizing, then the vertical line is not showing for some time and showing for some other time (Please refer 2nd attachment).
Also, sometimes the border which I used to display the sum in the footer having display issue, means the right border is hiding sometimes when I perform column resizing and sometimes without column resizing the same issue occurs.
It looks like resolution issue.
Please let us know any solution to avoid this line and right border hiding issue. It looks weird.

Premkumar
Top achievements
Rank 1
Iron
Iron
 asked on 16 Apr 2024
1 answer
62 views
Hello. How I can styling WatermarkContent in RadAutoCompleteBox?
For example DateTimeWatermarkTemplateProperty in RadDateTimePicker is simple to set. 
Martin Ivanov
Telerik team
 answered on 15 Apr 2024
2 answers
22 views

Hello,

I am new to Telerik, in my application we are using RadGridView and load the data dynamically.

when data is large, and I copy pasted from excel then my cells are not highlighted. data is pasted correctly but highlighted cell is not working.

If I edit it manually then it's working fine and I handled this highlighted cell in "CellEditEnd" event.

I walk through multiple forums but none of them are working for me.

I tried to raise ClipboardPaste event but that is not available my RadGridView control.

Also I manually created below function but "MyRadGrid.ChildrenOfType<GridViewRow>()" is not giving me all the index of my radgridview it gives 10 or 15 according to the screen size because of virtualization

private void HighlightUpdateCell(int rowIndex, int columnIndex)
        {           
            int rowNumber = 0;
            foreach (GridViewRow gr in MyRadGrid.ChildrenOfType<GridViewRow>())
            {
                if (rowNumber == rowIndex)
                {
                    gr.Cells[columnIndex].Background = Brushes.Yellow;
                    break;
                }
                rowNumber++;
            }
        }

Another approach was to create a property and set it in style but that is also not working. as cells are not showing in edited mode after pasting data.

I also tried using CellStyleSelector but the is applying changes only on load after that this method is not call itself.

 

I tried for ClipboardPaste event but unable to find that in my application.

I am using latest Telerik libraries from 2024

 

Can you please help to highlight the cells of RadGridView after paste is completed.

 

 

Meera
Top achievements
Rank 1
Iron
 answered on 12 Apr 2024
0 answers
19 views

Which controls can be used for the tool shown in the image.

[ I have circled the red color inside the image control ]

Parth
Top achievements
Rank 1
Iron
Iron
 asked on 10 Apr 2024
0 answers
18 views

I have an ImageInline in xaml file. And loading this image file is relatively slow. So I think it is the main reason throw that exception. Has anyone had this problem? Please help me answer this question.
Many thanks.

Telerik.Windows.Documents (Version: 2021.1.223.45) 

Telerik.Windows.Documents.FormatProviders.Xaml (Version: 2021.1.223.45)

Telerik.Windows.Documents.FormatProviders.Html(Version: 2021.1.223.45)

Tran
Top achievements
Rank 1
 asked on 10 Apr 2024
Narrow your results
Selected tags
Tags
+? more
Top users last month
Mark
Top achievements
Rank 1
Yurii
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Hon
Top achievements
Rank 1
Iron
Deltaohm
Top achievements
Rank 3
Bronze
Iron
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Mark
Top achievements
Rank 1
Yurii
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Hon
Top achievements
Rank 1
Iron
Deltaohm
Top achievements
Rank 3
Bronze
Iron
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?