Unplanned
Last Updated: 08 Mar 2022 08:06 by Stenly
Created by: Stenly
Comments: 0
Category: CardView
Type: Feature Request
1

Expose Expand and Collapse events, which will occur when a RadCardViewItem element is either collapsed or expanded.

Currently, to achieve this behavior, subscribe to the Loaded event of the RadCardView control, and add two new event handlers via the AddHandler method.

For the first handler, which will be responsible for occurring when expanding, pass as a first argument RadExpander.ExpandedEvent. As a second parameter, create a new RoutedEventHandler instance with a method, which will fire the custom logic when the internal RadExpander element of the current RadCardView is getting expanded.

For the second added event handler, which will be responsible for the collapsing logic, the same approach as the abovementioned one could be used.

The following code snippet shows this approach's implementation:

private void CardView_Loaded(object sender, RoutedEventArgs e)
{
    this.cardView.AddHandler(RadExpander.ExpandedEvent, new RoutedEventHandler(Expanded));
    this.cardView.AddHandler(RadExpander.CollapsedEvent, new RoutedEventHandler(Collapsed));
}

private void Expanded(object sender, RoutedEventArgs e)
{
    var expander = e.OriginalSource as RadExpander;
    //Get clicked CardViewItem element
    var cardViewItem = expander.ParentOfType<RadCardViewItem>();
}

private void Collapsed(object sender, RoutedEventArgs e)
{
    var expander = e.OriginalSource as RadExpander;
    //Get clicked CardViewItem element
    var cardViewItem = expander.ParentOfType<RadCardViewItem>();
}

 

Completed
Last Updated: 25 Nov 2021 07:02 by ADMIN
Release LIB 2021.3.1129 (29 Nov 2021)
Created by: Martin Ivanov
Comments: 0
Category: CardView
Type: Bug Report
1

If the CardView control is focused and the Enter key is pressed NullReferenceException appears. 

To resolve this use ICollectionView (like QueryableCollectionView) as the ItemsSource of the control.

Completed
Last Updated: 08 Jun 2021 10:18 by ADMIN
Release LIB 2021.2.608 (08 Jun 2021)

Removing an item from the ItemsSource always removes the last card in the UI, regardless of the item's index in the ItemsSource. For example, if you remove an item at index 0, the last visual element (card) will be removed instead of the first one in the view. 

To resolve the issue, you can reset the ItemsSource of the RadCardView control after the collection changed action.

var source = this.cardView.ItemsSource;
this.cardView.ItemsSource = null;
this.cardView.ItemsSource = source;

Unplanned
Last Updated: 28 May 2021 07:17 by ADMIN
Created by: Martin Ivanov
Comments: 0
Category: CardView
Type: Feature Request
1
Currently, you can select only a single card at a time. Add the option to select multiple cards.
Completed
Last Updated: 10 May 2021 06:52 by ADMIN
Release R2 2021
Created by: Avi
Comments: 0
Category: CardView
Type: Feature Request
0
Introduce ReadOnly/Edit DataTemplates, so that the user will be able to customize the card. It should be similar to RadDataForm's Customized Fields feature.