Skip to content

ControlExtensions.FixedHeightPresenter method (1 of 7)

Uses fixed-height row virtualization (default). Rows assume RowHeight or the theme default; cell content taller than that clips.

public static GridView FixedHeightPresenter(this GridView grid)
parameter description
grid Target grid view.

The grid view for chaining.


ControlExtensions.FixedHeightPresenter method (2 of 7)

Section titled “ControlExtensions.FixedHeightPresenter method (2 of 7)”

Uses fixed-height row virtualization with theme default item height.

public static ItemsControl FixedHeightPresenter(this ItemsControl itemsControl)
parameter description
itemsControl Target items control.

The items control for chaining.


ControlExtensions.FixedHeightPresenter method (3 of 7)

Section titled “ControlExtensions.FixedHeightPresenter method (3 of 7)”

Uses fixed-height row virtualization with theme default item height.

public static ListBox FixedHeightPresenter(this ListBox listBox)
parameter description
listBox Target list box.

The list box for chaining.


ControlExtensions.FixedHeightPresenter method (4 of 7)

Section titled “ControlExtensions.FixedHeightPresenter method (4 of 7)”

Uses fixed-height row virtualization with explicit item height.

public static ItemsControl FixedHeightPresenter(this ItemsControl itemsControl, double itemHeight)
parameter description
itemsControl Target items control.
itemHeight Fixed item height.

The items control for chaining.


ControlExtensions.FixedHeightPresenter method (5 of 7)

Section titled “ControlExtensions.FixedHeightPresenter method (5 of 7)”

Uses fixed-height row virtualization anchored to the given viewport edge.

public static ItemsControl FixedHeightPresenter(this ItemsControl itemsControl, ItemsAnchor anchor)
parameter description
itemsControl Target items control.
anchor Viewport edge the item content rests against and follows.

The items control for chaining.


ControlExtensions.FixedHeightPresenter method (6 of 7)

Section titled “ControlExtensions.FixedHeightPresenter method (6 of 7)”

Uses fixed-height row virtualization with explicit item height.

public static ListBox FixedHeightPresenter(this ListBox listBox, double itemHeight)
parameter description
listBox Target list box.
itemHeight Fixed item height.

The list box for chaining.


ControlExtensions.FixedHeightPresenter method (7 of 7)

Section titled “ControlExtensions.FixedHeightPresenter method (7 of 7)”

Uses fixed-height row virtualization with explicit item height, anchored to the given viewport edge.

public static ItemsControl FixedHeightPresenter(this ItemsControl itemsControl, double itemHeight,
ItemsAnchor anchor)
parameter description
itemsControl Target items control.
itemHeight Fixed item height.
anchor Viewport edge the item content rests against and follows.

The items control for chaining.