Table of Contents

Class TableViewRow

Namespace
WinUI.TableView
Assembly
WinUI.TableView.dll

Represents a row in a TableView.

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

Constructors

TableViewRow()

Initializes a new instance of the TableViewRow class.

public TableViewRow()

Properties

Cells

Gets the list of cells in the row.

public IReadOnlyList<TableViewCell> Cells { get; }

Property Value

IReadOnlyList<TableViewCell>

Index

Gets the index of the row.

public int Index { get; }

Property Value

int

RowPresenter

public TableViewRowPresenter? RowPresenter { get; }

Property Value

TableViewRowPresenter

TableView

Gets or sets the TableView associated with the row.

public TableView? TableView { get; }

Property Value

TableView

Methods

ArrangeOverride(Size)

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

protected override Size ArrangeOverride(Size finalSize)

Parameters

finalSize Size

The final area within the parent that this object should use to arrange itself and its children.

Returns

Size

The actual size that is used after the element is arranged in layout.

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()

OnContentChanged(object, object)

Invoked when the value of the Content property changes.

protected override void OnContentChanged(object oldContent, object newContent)

Parameters

oldContent object

The old value of the Content property.

newContent object

The new value of the Content property.

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.

OnDoubleTapped(DoubleTappedRoutedEventArgs)

Called before the DoubleTapped event occurs.

protected override void OnDoubleTapped(DoubleTappedRoutedEventArgs e)

Parameters

e DoubleTappedRoutedEventArgs

Event data for the event.

OnPointerPressed(PointerRoutedEventArgs)

Called before the PointerPressed event occurs.

protected override void OnPointerPressed(PointerRoutedEventArgs e)

Parameters

e PointerRoutedEventArgs

Event data for the event.

OnPointerReleased(PointerRoutedEventArgs)

Called before the PointerReleased event occurs.

protected override void OnPointerReleased(PointerRoutedEventArgs e)

Parameters

e PointerRoutedEventArgs

Event data for the event.

OnTapped(TappedRoutedEventArgs)

Called before the Tapped event occurs.

protected override void OnTapped(TappedRoutedEventArgs e)

Parameters

e TappedRoutedEventArgs

Event data for the event.