Layout Panels for Windows Phone Features

Wrap Panel

Create flowing layouts that wrap content vertically or horizontally using ComponentOne WrapPanel™ for Windows Phone. This control is similar to the WrapPanel class in WPF. Features include:

      Wrapping Layouts

C1WrapPanel positions child elements in sequential position from left to right, breaking content to the next line at the edge of the containing box. This is useful when you need wrapping content to break at different positions depending on the orientation of the phone.

      Horizontal or Vertical Flow Layout

Switch the flow to vertical and child elements will arrange from top to bottom. Just set the Orientation property.

Dock Panel

ComponentOne DockPanel™ for Windows Phone enables you to dock elements to the top, bottom, left and right edges of a parent container. Add this classic Windows Forms functionality into your Phone development toolkit to create complex layouts with ease. Features include:

      Filled Content

If you set the LastChildFill property to True, which is the default setting, the last child element of a C1DockPanel always fills the remaining (central) space.

      Create Complex Layouts

You can nest C1DockPanels to create complex layouts you are familiar with in Windows Forms. Set the attached Dock property of nested child elements to position along any edge of its parent container. As the C1DockPanel resizes during orientation changes, nested elements remain docked to their respective edges.

Uniform Grid

Neatly display child elements in rows and columns with ComponentOne UniformGrid™ for Windows Phone. Each child element is displayed at an equal width and height. Features include:

      Rows and Columns

Specify the number of rows and columns by just setting two properties.

      Hide Columns and Rows

Using C1UniformGrid, you can show or hide an entire column or row with one line of code.

      Span Columns and Rows

By setting the attached ColumnSpan property you can span columns. Or, span rows by setting the attached RowSpan property. This functionality resembles the Grid control.

      Set the First Column

Use the FirstColumn property to set the number of leading blank cells in the first row of the C1UniformGrid.


Send us comments about this topic.
Copyright © GrapeCity, inc. All rights reserved.