Hi,
I use the RadTreeView with static items - RadTreeViewItems are created in code. I need the tree items to stretch horizontally - so I set the ItemContainerStyle:
<
telerik:RadTreeView.ItemContainerStyle
>
<
Style
TargetType
=
"telerik:RadTreeViewItem"
>
<
Setter
Property
=
"HorizontalContentAlignment"
Value
=
"Stretch"
/>
<
Setter
Property
=
"Padding"
Value
=
"0"
/>
</
Style
>
</
telerik:RadTreeView.ItemContainerStyle
>
Unfortunately the style is applied only the root items - like stated in the documentation:
I do not understand how to "manually set the ItemContainerStyle property of their parents". Is there a working example how to use ItemContainerStyle with static items?
Beste regards,
Thomas
How I can assign a RadDiagramShape shape.ActualBounds.Height to shape.Geometry.Bounds.Height?
How I try, I have exception: "Cannot modify the return value because it is not a variable"
I can't solve this problem.
This is my ChartView:
<telerik:RadCartesianChart x:Name=
"bpsChart"
Palette=
"Windows8"
Margin=
"20,56,17,544"
>
<telerik:RadCartesianChart.Grid>
<telerik:CartesianChartGrid MajorXLineDashArray=
"5, 5"
MajorYLineDashArray=
"5, 5"
MajorLinesVisibility=
"None"
>
<telerik:CartesianChartGrid.MajorYLineStyle>
<Style TargetType=
"{x:Type Line}"
>
<Setter Property=
"Stroke"
Value=
"Gray"
/>
</Style>
</telerik:CartesianChartGrid.MajorYLineStyle>
<telerik:CartesianChartGrid.MajorXLineStyle>
<Style TargetType=
"{x:Type Line}"
>
<Setter Property=
"Stroke"
Value=
"Gray"
/>
</Style>
</telerik:CartesianChartGrid.MajorXLineStyle>
</telerik:CartesianChartGrid>
</telerik:RadCartesianChart.Grid>
<telerik:RadCartesianChart.HorizontalAxis>
<telerik:CategoricalAxis ShowLabels=
"False"
IsEnabled=
"False"
/>
</telerik:RadCartesianChart.HorizontalAxis>
<telerik:RadCartesianChart.VerticalAxis >
<telerik:LinearAxis ShowLabels=
"False"
IsEnabled=
"False"
/>
</telerik:RadCartesianChart.VerticalAxis>
<telerik:RadCartesianChart.Series>
<telerik:LineSeries CategoryBinding=
"Date"
ValueBinding=
"Value"
Stroke=
"Yellow"
ItemsSource=
"{Binding CurrentPosValues, RelativeSource={RelativeSource AncestorType=Window}}"
/>
</telerik:RadCartesianChart.Series>
</telerik:RadCartesianChart>
As you can see i removed the Axis label but i didn't find how to remove the label ticks, please see my attach file.
Thansk
Hallo, i d like to change text in Diagram Items by using Settings Pane but when i open settings pane for selected item in the text tab is just name of node but no content of node. Could you guide through this?
Thank you
Jakub
Hi team,
First I have to admit that the GridView is an amazing control I've ever used. However, when used in my App, a strange performance problem is occurring.
I have a frame control which i would set its Source property to different pages to do navigations. In one page, there are some basic controls, there are two other pages containing a GridView control apiece. When the App startups, it first shows the page containing those basic controls. When I go to other pages containing GridView controls, it takes a long time, it's roughly 8 seconds per my counting. I measure the duration both for navigation and GridView loading (like RadGridView1.LayoutUpdated -= RadGridView1_LayoutUpdated;). And both values are less than 1000ms. Now I'm kind of lost now. It seems the GridView can be loaded quickly (My total data for GridView is 1400 rows * 17 cols), and the navigation also could be loaded quickly. The only left thing is rendering before users truly see the destination page. I can see nowhere could be the possible painpoint. Anyone ideas?
Thanks,
Jingfei
Hi,
I am working on WPF.\ and we are using telerik controls in our project.
we are implementing Expand all rows functionalaity in Telerik radgridview . In our radgridview few rows has childgrid and if we are using expandallhierarchyitems() method then it is expanding all rows. My requirment is when i click on expand all button then it shoud expand only those rows which have child grid control.
Hi,
I'm looking to use the RadGridView with a specfic use case for filtering. We're in an MVVM setup, where filtering of the data rows is performed in the viewmodel rather than in the view. However, I'd still like to use a filter row in this setup.
Effectively, I want that filter row to be able to bind to our own FilterViewModel property in the view model that represents it. Imagine this as just a TextBox for each column sitting in the filter row on top that is represented by a Dictionary<string,string> in the viewmodel: where the key is the column unique name, and the value is what the user entered for that textbox. Behind the scenes, when this dictionary changes, we will perform the filtering ourselves.
As far as I understand it, this would require a custom filter control in the filter row of the RadGridView, and notification when the user changes a value in one of those filters. However, it seems like it's impossible to use the filtering row or indicators of the RadGridView without using IFilterDescriptors or other Telerik-specific filtering items. Is that true? How could I make this scenario work?
I'm able to do this to a certain extent with Infragistics controls -- we're evaluating Telerik to move over to and this is fairly critical to that process.
Thanks,
Alan