[Expand]General Information
[Expand]WinForms Controls
[Collapse]ASP.NET Controls and MVC Extensions
 [Expand]Prerequisites
 [Expand]What's Installed
 [Expand]Common Concepts
 [Expand]ASP.NET WebForms Controls
 [Collapse]ASP.NET MVC Extensions
  [Expand]Product Information
  [Expand]Getting Started
  [Expand]Common Concepts
  [Expand]Grid View
  [Expand]Tree List
  [Collapse]Card View
    Overview - CardView
    Main Features - Card View
   [Collapse]Concepts
    [Expand]Binding to Data
    [Expand]Data Representation Basics
    [Collapse]Focus and Navigation
      Focused Card
     [Expand]Paging and Scrolling
      Selection
    [Expand]Data Editing and Validation
     Adaptivity
    [Expand]Export
   [Expand]Member Tables
  [Expand]Reporting
  [Expand]Charting
  [Expand]Pivot Grid
  [Expand]Spreadsheet
  [Expand]Rich Text Editor
  [Expand]Scheduler
  [Expand]Site Navigation and Layout
  [Expand]HTML Editor
  [Expand]Vertical Grid
  [Expand]Data Editors Extensions
  [Expand]Docking and Popups
  [Expand]File Management
  [Expand]Data and Image Navigation
  [Expand]Multi-Use Site Extensions
  [Expand]SpellChecker
  [Expand]Query Builder
 [Expand]Localization
 [Expand]Redistribution and Deployment
  Get More Help
 [Expand]API Reference
[Expand]ASP.NET Bootstrap Controls
[Expand]ASP.NET Core Bootstrap Controls
[Expand]WPF Controls
[Expand]Xamarin Controls
[Expand]Windows 10 App Controls
[Expand]Office File API
[Expand]Reporting
[Expand]Report and Dashboard Server
[Expand]Dashboard
[Expand]eXpressApp Framework
[Expand]CodeRush
[Expand]CodeRush Classic
[Expand]Cross-Platform Core Libraries
[Expand]Tools and Utilities
 End-User Documentation

Focused Card

The DevExpress MVC CardView provides the Focused Card feature. By default, this feature is disabled. To enable it, set the SettingsBehavior.AllowFocusedCard (see ASPxCardViewBehaviorSettings.AllowFocusedCard) option to true.

The style settings defining the appearance of the focused card can be accessed and customized using the Styles.FocusedCard (see CardViewStyles.FocusedCard) property.

Expanded Manipulating Focus on the Server-Side

The focused card is identified by the MVCxCardView.FocusedCardIndex property (see ASPxCardView.FocusedCardIndex). Use this property to move card focus within the current page.

View code:

Expanded Manipulating Focus on the Client-Side

End-users move card focus by clicking the cards they need. To identify the currently focused card, use the ASPxClientCardView.GetFocusedCardIndex client method. To move card focus, use the ASPxClientCardView.SetFocusedCardIndex method.

To respond to changing card focus, handle the ASPxClientCardView.FocusedCardChanged client event.

Is this topic helpful?​​​​​​​