Show / Hide Table of Contents

Method Layout

| Improve this Doc View Source

Layout(Orientation, Int32)

Defines how the layout expands with row collection.

Declaration
public DataPresenter.TemplateBuilder Layout(Orientation orientation, int flowRepeatCount = 1)
Parameters
Type Name Description
System.Windows.Controls.Orientation orientation

Specifies the row expanding direction of layout.

System.Int32 flowRepeatCount

Defines layout that rows will flow in BlockView first, then expand afterwards. The default value is 1, which means bypass BlockView level. Value of -1 means number of flow repeat will be calculated automatically based on available space.

Returns
Type Description
DataPresenter.TemplateBuilder

This template builder for fluent coding.

  • Improve this Doc
  • View Source
Back to top Copyright © Weifen Luo | DevZest