Table of Contents

Class TableViewRowHeader

Namespace
WinUI.TableView
Assembly
WinUI.TableView.dll

Represents a header for row in TableView.

[GeneratedBindableCustomProperty]
[WinRTRuntimeClassName("Microsoft.UI.Xaml.IUIElementOverrides")]
[WinRTExposedType(typeof(WinUI_TableView_TableViewRowWinRTTypeDetails))]
public class TableViewRowHeader : ContentControl, IWinRTObject
Inheritance
object
DependencyObject
UIElement
FrameworkElement
Control
ContentControl
TableViewRowHeader
Implements
IWinRTObject

Constructors

TableViewRowHeader()

Initializes a new instance of the TableViewRowHeader class.

public TableViewRowHeader()

Properties

TableView

Gets or sets the TableViewRow associated with the presenter.

public TableView? TableView { get; }

Property Value

TableView

TableViewRow

Gets or sets the TableView associated with the presenter.

public TableViewRow? TableViewRow { get; }

Property Value

TableViewRow

Methods

MeasureOverride(Size)

Provides the behavior for the "Measure" pass of the layout cycle. Classes can override this method to define their own "Measure" pass behavior.

protected override Size MeasureOverride(Size availableSize)

Parameters

availableSize Size

The available size that this object can give to child objects. Infinity can be specified as a value to indicate that the object will size to whatever content is available.

Returns

Size

The size that this object determines it needs during layout, based on its calculations of the allocated sizes for child objects or based on other considerations such as a fixed container size.

OnApplyTemplate()

Invoked whenever application code or internal processes (such as a rebuilding layout pass) call ApplyTemplate. In simplest terms, this means the method is called just before a UI element displays in your app. Override this method to influence the default post-template logic of a class.

protected override void OnApplyTemplate()

OnCreateAutomationPeer()

When implemented in a derived class, returns class-specific AutomationPeer implementations for the Microsoft UI Automation infrastructure.

protected override AutomationPeer OnCreateAutomationPeer()

Returns

AutomationPeer

The class-specific AutomationPeer subclass to return.