Xceed DataGrid for WPF v7.3 Documentation
Xceed.Wpf.DataGrid Assembly / Xceed.Wpf.DataGrid Namespace / DataGridItemsHost Class
Members


In This Topic
    DataGridItemsHost Class
    In This Topic

    Base class whose derived classes are used in DataGridControl templates as a replacement for the ItemsPresenter 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 MustInherit Class DataGridItemsHost 
       Inherits System.Windows.FrameworkElement
       Implements ICustomVirtualizingPanel 
    'Usage
     
    Dim instance As DataGridItemsHost
    [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 abstract class DataGridItemsHost : System.Windows.FrameworkElement, ICustomVirtualizingPanel  
    Remarks
    Derived classes should be used rather than providing a panel through the DataGridControl.ItemsPanel property.
    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.CardflowItemsHost
                         Xceed.Wpf.DataGrid.Views.CardViewItemsHost
                         Xceed.Wpf.DataGrid.Views.PrintTableViewItemsHost
                         Xceed.Wpf.DataGrid.Views.TableflowViewItemsHost
                         Xceed.Wpf.DataGrid.Views.TableViewItemsHost

    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