Telerik Forums
UI for WPF Forum
11 answers
745 views

The GridView has a nasty feature I don't quite understand. It concerns the visual studio intellisense connection (XAML) of the collection in the ItemsSource and the DataMemberBinding on the column when using AutoGenerateColumns=False.

The problem is that if you Qualify the attached property type, so it reacts to property name changes and can be naviagted to using F12, the column cannot be filtered or grouped anymore.

Qualify looks like this:

DataMemberBinding="{Binding Path=(model: xxx)"

The unqualified looks like this:

DataMemberBinding="{Binding Path= xxx"       this gives a blue line underneath

 

The DataContext of the column obviously isn't the DataContext of the Window.

The values in the cells are correct. 

The message I get from visual studio is  'Cannot resolve property 'xxx' in data context of type 'object'.

In DataTemplates a similar thing happens, but you can set the DataType or I use d:DataContext={xxx}

 

I there a way to do this?

 

 

 

Yoan
Telerik team
 answered on 15 May 2020
2 answers
167 views

Hello,

I'd like to show group headers that are organized by department and person. I tried this with ResourceGroupDesction as follows:

GroupDescriptions = new GroupDescriptionCollection()
{
    new ResourceGroupDescription(){ ResourceType = "Department"},
    new ResourceGroupDescription() { ResourceType = "Person" },
};

However this just repeats the Person group under each department. Is there a way to have persons only show up under the department that they belong to?

This grouping isn't really resources, it was just an attempt at learning grouping methods. I can use any option available that would allow group headers organized by department / person.

Regards,

Dinko | Tech Support Engineer
Telerik team
 answered on 15 May 2020
1 answer
239 views

     Hi

In my chart I created ChartSeriesProvider and few ScatterPointSeries. 

For the ScatterPointSeries I can set the display ordering using Zindex or using default order But the ChartSeriesProvider created on top of other series.

How can I set the order of ChartSeriesProvider to most down?

 

Thanks

Michal

Dinko | Tech Support Engineer
Telerik team
 answered on 15 May 2020
1 answer
209 views

Ohhhhh :(

See the differences:

<telerik:RadWatermarkTextBox 
VerticalContentAlignment="Top"                                        
HorizontalScrollBarVisibility="Auto"                                        
VerticalScrollBarVisibility="Auto"                                        
IsReadOnly="True"                                        
Text="{Binding Text, Mode=OneWay}"/>

and

 

<TextBox 
VerticalContentAlignment="Top"                                        
HorizontalScrollBarVisibility="Auto"                                        
VerticalScrollBarVisibility="Auto"                                        
IsReadOnly="True"                                        
Text="{Binding Text, Mode=OneWay}"/>

Andrew
Top achievements
Rank 1
 answered on 14 May 2020
2 answers
370 views
I would like to drag a ListBox item and drop it onto another item. In OnDragOver and OnDrop the sender is the ListBox, but I don't see a way to identify the specific item I am dragging over or dropping on. Is there a way to do that?
Georg
Top achievements
Rank 1
Veteran
 answered on 14 May 2020
1 answer
380 views

Hello,

 

i want to merge cells vertically, not only by the contenet but with some kind of ID. In the specific logik i got main objects with multiple compare objects:

A - X - 1
A - X - 2
A - X - 3
B - X - 3
B - X - 4
B - X - 4

the Main Objects have some properties with same values, but these should not merger, only within the same object:

         - 1
A - X - 2
         - 3
         - 3
B - X - 4
         - 4

In the above sample X should only be merged within the the A-object.

I also attached an excel screenshot with similar data (col A and B shoult only merge within the underlining object).

I could imaging to solve this with some kind of "MergingId" and binding a unique GUID to it.

I also found some feedbacks wich could request this behavior:
https://feedback.telerik.com/wpf/1354082-gridview-provide-logic-that-overrides-default-cell-merging-algorithm-preventing-groups-of-cells-from-merging
https://feedback.telerik.com/wpf/1354346-mergedcells-add-option-to-cancel-the-merging-of-specific-cells

Any sugestions how i could achieve this?

regards
Marco

Dinko | Tech Support Engineer
Telerik team
 answered on 14 May 2020
1 answer
162 views

Hello, I've come to a scenario in my project that I need to dynamically create rules and evaluate it on the go.

I kind of need something very similar to what Devops have like in the attached picture.

is there any control that might achieve my needs or at at least a starting point.

 

any help would be appreciated.

 

 

 

 

 

Dinko | Tech Support Engineer
Telerik team
 answered on 13 May 2020
3 answers
727 views
Hi,

I am not getting background color changes by changing background property value.


Please helpme.

Martin
Top achievements
Rank 1
Veteran
 answered on 12 May 2020
2 answers
259 views

We are trying to use a ChartView with a LinearAxis for the vertical axis and a CategoricalAxis for the horizontal axis. Our issue is that we can't find a way to limit the number of category items in the horizontal view of the ChartView. We'd like to have a max of 14 items in the view before requiring the user to scroll to see more category items, but as it stands now, the more items that are added to the ChartView, the smaller and smaller the items get until their labels overlap.

Is there a way to limit the view of the ChartView to a max of 14 items so that the user can scroll to the right to see more items?

Thanks!

Pavel
Top achievements
Rank 1
 answered on 12 May 2020
5 answers
1.1K+ views

Hi!

I am trying to create a radar chart, which axis values would change after value update.

 

<telerik:CategoricalDataPoint Category="A" Value="{Binding Path=BoundNumber, Mode=TwoWay}"/>
<telerik:CategoricalDataPoint Category="B" Value="70"/>
<telerik:CategoricalDataPoint Category="C" Value="70"/>

 

I can't bind the value this way, because I get this error:

'Binding' cannot be set on the 'Value' property of type 'CategoricalDataPoint'. A 'Binding' can only be set on a DependencyProperty of a DependencyObject.

 

What's the solution?

 

Thanks in advance for your help.

 

Best regard,

Grzegorz Kaczmarczyk


 

 

Dinko | Tech Support Engineer
Telerik team
 answered on 12 May 2020
Narrow your results
Selected tags
Tags
GridView
General Discussions
Chart
RichTextBox
Docking
ScheduleView
ChartView
TreeView
Diagram
Map
ComboBox
TreeListView
Window
RibbonView and RibbonWindow
PropertyGrid
DragAndDrop
TabControl
TileView
Carousel
DataForm
PDFViewer
MaskedInput (Numeric, DateTime, Text, Currency)
AutoCompleteBox
DatePicker
Buttons
ListBox
GanttView
PivotGrid
Spreadsheet
Gauges
NumericUpDown
PanelBar
DateTimePicker
DataFilter
Menu
ContextMenu
TimeLine
Calendar
Installer and Visual Studio Extensions
ImageEditor
BusyIndicator
Expander
Slider
TileList
DataPager
PersistenceFramework
Styling
TimeBar
OutlookBar
TransitionControl
FileDialogs
Book
ToolBar
ColorPicker
TimePicker
MultiColumnComboBox
SyntaxEditor
VirtualGrid
NavigationView (Hamburger Menu)
Wizard
ExpressionEditor
WatermarkTextBox
DesktopAlert
BarCode
SpellChecker
DataServiceDataSource
EntityFrameworkDataSource
RadialMenu
ChartView3D
Data Virtualization
BreadCrumb
LayoutControl
ProgressBar
Sparkline
TabbedWindow
ToolTip
CloudUpload
ColorEditor
TreeMap and PivotMap
EntityFrameworkCoreDataSource (.Net Core)
HeatMap
Chat (Conversational UI)
VirtualizingWrapPanel
Calculator
NotifyIcon
TaskBoard
TimeSpanPicker
BulletGraph
Licensing
WebCam
CardView
DataBar
FilePathPicker
Callout
PasswordBox
SplashScreen
Localization
Rating
Accessibility
CollectionNavigator
AutoSuggestBox
Security
VirtualKeyboard
HighlightTextBlock
TouchManager
StepProgressBar
Badge
OfficeNavigationBar
ExpressionParser
CircularProgressBar
SvgImage
PipsPager
SlideView
AI Coding Assistant
InlineAIAssistant
+? more
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Top users last month
Grant
Top achievements
Rank 3
Iron
Iron
Iron
Dean
Top achievements
Rank 1
Leland
Top achievements
Rank 2
Iron
Iron
Iron
Emil
Top achievements
Rank 1
Iron
Robert
Top achievements
Rank 1
Want to show your ninja superpower to fellow developers?
Want to show your ninja superpower to fellow developers?