Telerik Forums
UI for WPF Forum
0 answers
119 views
Using the Office 2019 theme, we have styled dropdown button arrows to be white against the blue header background (that we had to do this seems to be a defect in the theme that I will log separately). This works fine except when they are in in the overflow menu of the quick access toolbar, they are white on white. I could not figure out any way to trigger something to make the color change when it moves to the overflow. Anything I try to point to doesn't update when it moves from PART_StripPanel to PART_OverflowPanel.
Steve
Top achievements
Rank 1
 asked on 16 Mar 2022
1 answer
150 views

I am using WatermarkTextbox and somehow that looks like it is disabled,
previously I was using xctk:WatermarkTextBox in this I was using KeepWatermarkOnGotFocus="True" which was helping me.

In telerik I am not getting any property as such.

Kindly help me in this.

 

I want like this

 

<telerik:RadWatermarkTextBox
                                                HorizontalAlignment="Stretch"
                                                IsReadOnly="True"
                                                Text="{Binding MaterialPartAndName,
                                                               ValidatesOnDataErrors=True}"
                                                ToolTip="{Binding MaterialPartAndName}"
                                                cal:Message.Attach="[Event MouseEnter] = [ResetSelectedItem]"
                                                WatermarkContent="Please select a material...">

                                            </telerik:RadWatermarkTextBox>

 

 

Regards,

Yogendra

                                               
Stenly
Telerik team
 answered on 16 Mar 2022
4 answers
61 views

I updated our telerik to the latest NoXaml version of the libraries.

 

I get the following binding error:

Cannot find source for binding with reference 'ElementName=TodayButtonBorder'. BindingExpression:Path=CornerRadius; DataItem=null; target element is 'RadButton' (Name='TodayButton'); target property is 'CornerRadius' (type 'CornerRadius')

I think this is a problem within the DateTimePicker control. I don't have any controls by the name 'TodayButton'.

 

Can someone from telerik flag this as a problem?

Max
Top achievements
Rank 1
Veteran
Iron
 answered on 16 Mar 2022
1 answer
378 views

This is a pretty minor issue but the #FF808080 gray appears twice in the default color picker (once at the bottom of first column and once at top of 2nd column) which can lead to a little strangeness.

If you start the color picker with this color selected, it will show both boxes as selected.


The other strangeness I was able to duplicate in the WPF demos (R1 2022SP1) is if I have the 2nd column box gray selected and close the color picker, then when I reopen it the gray at the bottom of the 1st column will be selected.

So start with this:

Click gray at bottom of 1st column, then reopen the screen. The box at the top of the 2nd color will remain selected.

There is a little bit of strangeness too when you have that shade of gray selected and then you click down into one of the "standard colors", it appears to leave the selected border around the original gray color (but does correctly put the selected border around the standard color).


Am I misinterpreting this or is this a bug?

Stenly
Telerik team
 answered on 15 Mar 2022
2 answers
92 views

Hello everyone,

I read the most topics with a similiar problem but nothing had worked for me.

I use WPF with MVVM and have a RadGridView. The binding from my Xaml code is with a button and a CommandParameter that passes the RadGridView to my method.

The Code looks like this

private void LoadData(object obj)
{
    RadGridView rad = obj as RadGridView;
    
    GridViewDataColumn col = new GridViewDataColumn();
    col.DataMemberBinding = new System.Windows.Data.Binding("Name");
    col.Header = "Name";

    rad.Columns.Add(col);

    //How to add now a new row to this?
}

How can I add now a new Raw with code? Something like rad.Rows.Add() does not exist.

Hope anybody can help me :-)

Guarana91
Top achievements
Rank 1
Iron
Iron
 answered on 14 Mar 2022
0 answers
158 views

Hi Team

We are facing frequent more bottom margin issue in RadTreeView with TreeVirtualizationMode="Hierarchical".

There is two level of grouping like parent, child and grandchild. With Hierarchical mode it is happening frequently. But with Recyling and Standard mode it is not happening but the performace is not good. So it is not helping right now.

Tried to adjuest the padding, margins of TreeViewPanel. Nothing helpped. And the number of grand child count is dynamic so cannot assign Height as well.

Need some suggestion. Thanks in advance!

Eg.

Parent A (Expander)

     Child A (Expander)

          Grandchild A (Content)

          Grandchild B (Content)

-----------------------------

----More Blank Space----

------------------------------

Parent B (Expander)

 

Code


<telerik:RadTreeView x:Name="SearchResultTreeView"
                                     BorderThickness="0"
                                     PreviewKeyDown="SearchResultTreeView_PreviewKeyDown"
                                     telerik:RadTreeViewItem.Selected="SearchResultTreeView_Selected"
                                     ScrollViewer.HorizontalScrollBarVisibility="Disabled"
                                     IsVirtualizing="True" 
                                     telerik:TreeViewPanel.TreeVirtualizationMode="Hierarchical"
                                     PreviewMouseLeftButtonDown="SearchResultTreeView_PreviewMouseLeftButtonDown" 
                                     Margin="0,-1,-1,0" ItemsSource="{Binding MyDummyCollectionView}"
                                     Background="{x:Null}" 
                                     BorderBrush="{x:Null}">

Uma
Top achievements
Rank 1
 asked on 11 Mar 2022
2 answers
114 views

Hello,

I am using the CardView-Control. Is there an event when the user expands/collapses a card?

regards

Tobias

Stenly
Telerik team
 answered on 10 Mar 2022
1 answer
193 views

Hello,

I'm using a custom SettingsPane based on the one you developped (Telerik\UI for WPF R2 2017\Themes.Implicit\WPF40\Windows7\Themes). This pane is used to customize all of the shapes (basic RadShapes and custom shapes) in a RadDiagram.

In this pane, there is a tab (it content is a UserControl) which allows the user to add values (from a RadGridView) to a serie in a RadChart (ScatterChart). The RadGridView allows the copy/paste functionnality to paste some values from Excel (for example).

However, I have a strange behavior about the focus: if I open the pane and the dedicated tab, I go to Excel to copy the data, click on the RadGridView before paste the data, then the main window and the pane don't take the focus. On the contrary, if I copy the data before opening the pane and the tab, there aren't any problems with the focus, the pasting is correctly done.

When the problem occurs, we can see that the main window header is light grey, to indicate that it doesn't have the focus.

Do you know something about this behavior? Do you have any solution? 

 

Many thanks.

Valentin.

Valentin
Top achievements
Rank 2
Iron
Iron
Iron
 answered on 09 Mar 2022
1 answer
204 views

Hello,

I would like to know if there is a way to customize (or alter) the RadGridView-Row Indicator to function more like the row indicator in Excel that supports Selection of rows and Automatic Row Numeration?

Or perhaps any way to set a Custom Row Indicator in a Custom RadGridView?

 

thank you,

Patrick

 

Dilyan Traykov
Telerik team
 answered on 09 Mar 2022
1 answer
157 views

I want to be able to restrict the user to entering only hex values in RadGridView rows.

Also, ideally the control creates a single space between hex values.

Any ideas?

Thank you in advance.

 

Example : 41 78 FF FD

 

Martin Ivanov
Telerik team
 answered on 09 Mar 2022
Narrow your results
Selected tags
Tags
+? more
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Jay
Top achievements
Rank 3
Iron
Iron
Iron
Benjamin
Top achievements
Rank 3
Bronze
Iron
Veteran
Radek
Top achievements
Rank 2
Iron
Iron
Iron
Bohdan
Top achievements
Rank 2
Iron
Iron
Richard
Top achievements
Rank 4
Bronze
Bronze
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?