Telerik Forums
UI for WPF Forum
1 answer
116 views

In the following example of MVVM application i tried to bind AccessKey to ribbon items to ribbon items. Unfortunatly the user have to navigate through ribbon and cannot use hotkey direcctly. The  user have to press hotkey for tab to can use Hotkey for button. Which is just a little bit unpractical if the user wants to use to acces functionality direct, or to inform which hotkey is for which button.

In your example for RibbonView(wpf) called "Office" ,if I press Alt  and cann see all ToolTips for. Do I miss some think in my exampple?

 

  

Example

Alexander
Top achievements
Rank 1
Iron
 answered on 29 Mar 2019
2 answers
99 views
I want to save each tile position in each group after user reorder the tilelist, but i can't find any event about reorder. How should I accomplish this?
edjia
Top achievements
Rank 1
 answered on 29 Mar 2019
2 answers
184 views

Hi, 

Recently I have changed my WPF application Root window from Window to RadRibbonWindow and this RadRibbonwindow is not loading application Icon from embedded resources. What do I need to do, to make RabRibbonWindow load an icon "ico" from resources automatically? My all other Windows are loading Icon from embedded resources automatically.

 

 

Martin Ivanov
Telerik team
 answered on 28 Mar 2019
2 answers
131 views

Hello,

it seems the radtimepicker is always using the US Date format. Why is it not using the the host machine localisation ? The problem is now I can not easily convert to date time (even though only the time portion is relevant ) . Please see attached screen shot. Here in South Africa our machines are set to DD/M/YYYY plus time but the timepicker is return the full date in us format M/DD/YYYY plus time.

 

 

 

 

Dinko | Tech Support Engineer
Telerik team
 answered on 28 Mar 2019
3 answers
856 views

Hello,

i am upgrading an old project that uses .NET 3.5 and Telerik UI for WPF 2012.x to the latest .NET and Telerik UI versions. I have a GridView whose ItemsSource is bound to a RadObservableCollection provided by a MVVM viewmodel. As i rememder i used this collection because of the RemoveRange-method which had some performance benefits compared to the ObservableCollection.Remove-method (suspending the collectionchanged-events).

But now i have the problem, that, if a least one column is sorted, not the correct rows are removed. The rows removed are those, that are in the place of the rows i want to delete if the table were unsorted. Deleting from an unsorted GridView works fine. If i use the Remove-method in a loop instead of the RemoveRange deleting works as expected in sorted and unsorted GridViews.

Is it not longer recommended to use the RadObservableCollection as an ItemsSource for a GridView or is it a bug?

recotech
Top achievements
Rank 1
 answered on 28 Mar 2019
1 answer
338 views

Hi,

I have a GridView with a GridViewCheckBoxColumn that is bound to a 'IsSelected' property of an entity. 

<telerik:GridViewCheckBoxColumn Header="" DataMemberBinding="{Binding IsSelected, Mode=TwoWay, UpdateSourceTrigger=PropertyChanged}" AutoSelectOnEdit="True" EditTriggers="CellClick" >

 

The entity also has a property 'NetLength'.  The entities are grouped by some other property.  Each time an entity gets checekd or unchecked, I need to calculate the sum of NetLength.  I've done that by adding a custom aggregate funcion in code behind.

var selectedItemsTotalMetersfunction = new AggregateFunction<PartNumberModel, decimal>();
selectedItemsTotalMetersfunction.AggregationExpression = pnrs => pnrs.Where(pn => pn.IsSelected).Sum(pn => pn.NetLength ?? 0);
selectedItemsTotalMetersfunction.Caption = "Meters:";
grdShippingOrder.Columns["NetLength"].AggregateFunctions.Add(selectedItemsTotalMetersfunction);

 

Now, all this works fine except for the fact that the bounded property 'IsSelected' only gets changed when the row changes.  Also my total of NetLength is recalculated only when row changes.  How can I force the calculation to be done at the moment the checkbox is checked/unchecked ?

In Winforms, the GridViewCheckBoxColumn has a property 'EditMode' which can be set to 'OnValueChange'.  Is there something similar in WPF ?

Regards,
Hans

 

Dinko | Tech Support Engineer
Telerik team
 answered on 28 Mar 2019
3 answers
79 views

Hi,

I am unable to persist the group filters of RadPivotFieldList.

Please suggest a way for the same.

Regards,

Swapnil

Kalin
Telerik team
 answered on 28 Mar 2019
5 answers
208 views

Hi,

I was wondering if the RadPane supports child application window handles. That is, i'm starting a new child process within my application and I want it to live inside one of the panes i've created. I can create the application and set the parent as the main window, but can't figure out how to make it live inside the pane. Any idea?

Thanks

Kalin
Telerik team
 answered on 28 Mar 2019
1 answer
169 views

Hi,

I wanted to validate that UI for WPF has the same requirements as Winforms for redistribution of a free application. I would like to make my software available online free (not open source,  and not the source).

I understand that the WPF assemblies need locked and a copyright for portions of the UI for progress/ telerik, but is there any other requirements for redistribution a free application using the UI for WPF?

I do understand how to lock down the assemblies just want to ensure I meet all requirements set. Note I do have a license, and am currently following the below URL instructions on how to lock the wpf assemblies.

https://docs.telerik.com/devtools/wpf/licensing/protecting-telerik-assembly

 

Martin Ivanov
Telerik team
 answered on 27 Mar 2019
1 answer
645 views

I've got the following buttons:

<telerik:RadPathButton Command="{Binding DoActionCommand}" PathGeometry="{telerik:RadGlyph Glyph={Binding Action.FontIcon}}" PathStyle="{StaticResource UniformPath}" Content="{Binding Action.Label}" ContentPlacement="Bottom" Margin="0,6,6,0" Padding="12" />

 

If I set the Glyph property to something like {StaticResource GlyphGear} then this works.  However when I try to bind to it, the button fails to render and as far as I can tell there is no error.  I have tried setting the bound value to the "&#xe13a;" and "GlyphGear" and tried with and without the StringToGlyphConverter with no luck.  What am I missing?

 

 

 

 

 

Vladimir Stoyanov
Telerik team
 answered on 27 Mar 2019
Narrow your results
Selected tags
Tags
+? more
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Top users last month
Will
Top achievements
Rank 2
Iron
Motti
Top achievements
Rank 1
Iron
Hester
Top achievements
Rank 1
Iron
Bob
Top achievements
Rank 3
Iron
Iron
Veteran
Thomas
Top achievements
Rank 2
Iron
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?