콘텐츠로 이동

ControlExtensions.VariableHeightPresenter method (1 of 4)

이 콘텐츠는 아직 번역되지 않았습니다.

Uses variable-height row virtualization. Each row’s height is the maximum measured cell height plus CellPadding vertical thickness - suitable for rows with wrapping text or differently sized cell content.

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

The grid view for chaining.


ControlExtensions.VariableHeightPresenter method (2 of 4)

Section titled “ControlExtensions.VariableHeightPresenter method (2 of 4)”

Uses variable-height virtualization (items are measured individually).

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

The items control for chaining.


ControlExtensions.VariableHeightPresenter method (3 of 4)

Section titled “ControlExtensions.VariableHeightPresenter method (3 of 4)”

Uses variable-height virtualization (items are measured individually).

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

The list box for chaining.


ControlExtensions.VariableHeightPresenter method (4 of 4)

Section titled “ControlExtensions.VariableHeightPresenter method (4 of 4)”

Uses variable-height virtualization anchored to the given viewport edge.

public static ItemsControl VariableHeightPresenter(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.