Xceed DataGrid for WPF v7.3 Documentation
Xceed.Wpf.DataGrid Assembly / Xceed.Wpf.DataGrid.Automation Namespace / DataGridContextAutomationPeer Class / CreatePeerForFixedHeader(Object) Method
The fixed header item that is associated with the DataGridHeaderFooterAutomationPeer.


In This Topic
    CreatePeerForFixedHeader(Object) Method
    In This Topic
    Creates a DataGridHeaderFooterAutomationPeer for the specified fixed header item.
    Syntax
    'Declaration
     
    Protected Overridable Function CreatePeerForFixedHeader( _
       ByVal item As Object _
    ) As DataGridHeaderFooterAutomationPeer
    'Usage
     
    Dim instance As DataGridContextAutomationPeer
    Dim item As Object
    Dim value As DataGridHeaderFooterAutomationPeer
     
    value = instance.CreatePeerForFixedHeader(item)
    protected virtual DataGridHeaderFooterAutomationPeer CreatePeerForFixedHeader( 
       object item
    )

    Parameters

    item
    The fixed header item that is associated with the DataGridHeaderFooterAutomationPeer.
    Remarks

    This automation peer remains in memory until the associated item is destroyed.

    The same instance of the automation peer is returned from subsequent calls to this method and calls to FromElement. The type of the peer is determined by the OnCreateAutomationPeer virtual callback. If item does not implement the callback, no automation peer is created, and this method returns null (Nothing in Visual Basic).

    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