Alignment Property (ObjectList)

Sets or returns the specified alignment for the style.

public virtual System.Web.UI.MobileControls.Alignment Alignment {
   get,
   set
}

Remarks

For the list view, the Alignment property aligns the items in a fashion similar to the HorizontalAlign enumeration as used with the DataGrid.ItemStyle property in the .NET Framework; the LabelStyle.Alignment property aligns the headers of the columns in a fashion similar to HorizontalAlign enumeration as used with the DataGrid.HeaderStyle property.

For the details view, the Alignment property aligns field titles and values; the LabelStyle.Alignment property aligns the label field.

See Also

Applies to: ObjectList Class