Hi,
I'm following the example of RestoredTilesToSpanMultipleRowsAndColumns_WPF.
I want to define dynamic rows/columns. I tried the following:
<
Style
x:Key
=
"tileViewPanel"
TargetType
=
"telerik:RadTileView"
>
<
Style.Resources
>
<
System:Object
x:Key
=
"RowsCount"
/>
<
System:Object
x:Key
=
"ColumnsCount"
/>
</
Style.Resources
>
<
Setter
Property
=
"ItemsPanel"
>
<
Setter.Value
>
<
ItemsPanelTemplate
>
<
local:Multicolumns
RowsCount
=
"{DynamicResource RowsCount}"
ColumnsCount
=
"{DynamicResource ColumnsCount}"
/>
</
ItemsPanelTemplate
>
</
Setter.Value
>
</
Setter
>
</
Style
>
Error:
System.Windows.Markup.XamlParseException: 'A 'DynamicResourceExtension' cannot be set on the 'RowsCount' property of type 'TemplateForm'. A 'DynamicResourceExtension' can only be set on a DependencyProperty of a DependencyObject.'
I also tried:
<
Style
x:Key
=
"tileViewPanel"
TargetType
=
"telerik:RadTileView"
>
<
Style.Resources
>
<
System:Object
x:Key
=
"RowsCount"
/>
<
System:Object
x:Key
=
"ColumnsCount"
/>
</
Style.Resources
>
<
Setter
Property
=
"ItemsPanel"
>
<
Setter.Value
>
<
ItemsPanelTemplate
>
<
local:Multicolumns
RowsCount
=
"{Binding RowsCount}"
ColumnsCount
=
"{Binding ColumnsCount}"
/>
</
ItemsPanelTemplate
>
</
Setter.Value
>
</
Setter
>
</
Style
>
Error:
System.Windows.Markup.XamlParseException: 'A 'Binding' cannot be set on the 'RowsCount' property of type 'TemplateForm'. A 'Binding' can only be set on a DependencyProperty of a DependencyObject.'
Does anyone knows how i can define dynamic rows/columns for this example?
Regards
Hi,
Is it possible to remove a tile from a TileList dynamically? I have tried the code below to remove all delected tiles when the del key is pressed but I get an exception calling Items.Remove()
private void OnKeyDown(object sender, KeyEventArgs e)
{
if (e.Key == Key.Delete)
{
foreach (var item in tiledDashboardTileList.SelectedItems)
{
tiledDashboardTileList.Items.Remove(item);
}
tiledDashboardTileList.SelectedItems.Clear();
e.Handled = true;
}
}
Hi. I'm trying to create a constructor for create a shapes. I have a problem with extracting geometry from RadDiagram. I need to get the geometry in string format from all the drawn elements. This topic has already been discussed here 2 years ago https://www.telerik.com/forums/geometry-to-xaml. Now I make it so that for each coordinate in the geometry I add a position, but for some reason there is a shift to the left and down. What could be the problem? For example i have geometry for picture 1:
shape1: M0.5,0.5L111.5,0.5 111.5,74.5 0.5,74.5z , position: 300, 290
shape2: M0.5,0.5L111.5,0.5 111.5,74.5 0.5,74.5z, position: 360, 230
and geometry for picture 2: M300.5,290.5L411.5,290.5 411.5,364.5 300.5,364.5 M360.5,230.5L471.5,230.5 471.5,304.5 360.5,304.5
Is it easily possible to allow column reordering, but then restrict columns within groups to only be reordered within that group?
Similarly, columns not in a group cannot be moved into a group - where both situations at the moment allow the group to be split into two groups of the same name each with a subset of the group's columns.
Thanks,
Maurice
When enabling PerMonitor DPI awareness for an application using RadDocking it only works correctly for the main monitor.
Our test environment is setup as follows:
- Windows 10 (1803; at least 1603 required)
- first monitor 1920x1080 @125%
- second monitor 1680x1050 @150%
On the first monitor the docking behaves as expected.
When moved to the second monitor some of the compasses are displayed at incorrect positions and react to mouse positions other than their screen position.
Please see attached video for more details.
Please let us know how to resolve issue with RadDocking - we require PerMonitor DPI awareness for our application.
Hi,
My grid uses Ajax to load its entire content at initial load. Paging/Filtering/Sorting all done locally afterwards. I would like to enable interactive Grouping that mimics as closely as possible the Telerik Windows Forms Grid.
When the user groups on a column, the grid should display initially collapsed groups with as many group headers as fit into the given page size. Ideally, The group headers should also indicate the number of child rows in the group. Ideally I should be able to sort the group headers according to the count of members (largest group first).
I had a look at documentation but most samples seem to use the databind event which is as far as I know not fired when the user selects grouping after data load.
I'm a beginner with ASP.NET MVC so I might have missed the obvious.
Thanks and kind regards
Erwin
I'm using the GroupDescriptors property in XAML to define the grid to group rows. I.e. the rows are grouped using one column.
Why is the grouped column still visible when I start the application? When I ungroup and the group again using mouse, the column is then hidden. Not very consistent. Is this a bug or am I missing a property here?
You can test this issues with your SDK Samples Browser application. Just open the GridView->Group Selection example in Visual Studio, set ShowColumnWhenGrouped property to false for the first GridViewDataColumn object, and run the example. For simplicity, you may also want to comment out the second GroupDescriptor object in the GroupDescriptors collection. I.e. use just one column to group like I do.
telerik version: 2018.2.515.40
When i click on the item in the property grid, i expect the Label's foreground to turn into Black color. But it didn't.
<
telerik:RadPropertyGrid
Grid.Row
=
"0"
x:Name
=
"grdTestProperty"
Margin
=
"4"
Item
=
"{Binding TestProperty, Mode=OneWay}"
SearchBoxVisibility
=
"Collapsed"
SearchInNestedProperties
=
"False"
FieldIndicatorVisibility
=
"Collapsed"
IsVirtualizing
=
"True"
AutoGeneratePropertyDefinitions
=
"True"
NestedPropertiesVisibility
=
"Visible"
LabelColumnWidth
=
"{Binding LabelColumnWidth, Mode=OneWay}"
RenderMode
=
"Flat"
IsReadOnly
=
"{Binding IsReadOnly, Mode=OneWay}"
Loaded
=
"grdTestProperty_Loaded"
/>