Xceed DataGrid for WPF v7.2 Documentation
CardViewItemsHost Class
Members 


Xceed.Wpf.DataGrid Assembly > Xceed.Wpf.DataGrid.Views Namespace : CardViewItemsHost Class

Class used in DataGridControl templates as a replacement for the ItemsPresenter when a grid is in a card-view layout and that will contain the data items as well as the items contained in non-fixed header and footer sections and whose containers are created from the associated CustomItemContainerGenerator.

Syntax
'Declaration
 
<StyleTypedPropertyAttribute(Property="FocusVisualStyle", StyleTargetType=System.Windows.Controls.Control)>

<XmlLangPropertyAttribute("Language")>

<UsableDuringInitializationAttribute(True)>

<RuntimeNamePropertyAttribute("Name")>

<UidPropertyAttribute("Uid")>

<TypeDescriptionProviderAttribute(MS.Internal.ComponentModel.DependencyObjectProvider)>

<NameScopePropertyAttribute("NameScope", System.Windows.NameScope)>

Public Class CardViewItemsHost 

   Inherits Xceed.Wpf.DataGrid.DataGridItemsHost

   Implements Xceed.Wpf.DataGrid.ICustomVirtualizingPanel 
'Usage
 
Dim instance As CardViewItemsHost
[StyleTypedProperty(Property="FocusVisualStyle", StyleTargetType=System.Windows.Controls.Control)]

[XmlLangProperty("Language")]

[UsableDuringInitialization(true)]

[RuntimeNameProperty("Name")]

[UidProperty("Uid")]

[TypeDescriptionProvider(MS.Internal.ComponentModel.DependencyObjectProvider)]

[NameScopeProperty("NameScope", System.Windows.NameScope)]

public class CardViewItemsHost : Xceed.Wpf.DataGrid.DataGridItemsHost, Xceed.Wpf.DataGrid.ICustomVirtualizingPanel  
Remarks
This class should be used rather than providing a panel through the DataGridControl.ItemsPanel property when creating a card view
Inheritance Hierarchy

System.Object
   System.Windows.Threading.DispatcherObject
      System.Windows.DependencyObject
         System.Windows.Media.Visual
            System.Windows.UIElement
               System.Windows.FrameworkElement
                  Xceed.Wpf.DataGrid.DataGridItemsHost
                     Xceed.Wpf.DataGrid.Views.CardViewItemsHost

Requirements

Target Platforms: Windows 11, Windows 10, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

CardViewItemsHost Members
Xceed.Wpf.DataGrid.Views Namespace