System.Web.UI.WebControls.DataList.SeparatorStyle Property

Gets the style properties of the separator between each item in the System.Web.UI.WebControls.DataList control.

Syntax

[System.Web.UI.PersistenceMode(System.Web.UI.PersistenceMode.InnerProperty)]
[System.ComponentModel.NotifyParentProperty(true)]
[System.ComponentModel.DesignerSerializationVisibility(System.ComponentModel.DesignerSerializationVisibility.Content)]
[System.ComponentModel.DefaultValue(null)]
public virtual TableItemStyle SeparatorStyle { get; }

Value

Documentation for this section has not yet been entered.

Remarks

Use the DataList.SeparatorStyle property to provide a custom style for the separator between each item in the System.Web.UI.WebControls.DataList control. The separator allows you to place an element with custom content between each item in the System.Web.UI.WebControls.DataList control. Common style attributes that can be adjusted include foreground color, background color, font, and content alignment within the cell. Providing a different style enhances the appearance of the System.Web.UI.WebControls.DataList control.

To specify a custom style for the separator, place the <SeparatorStyle> tags between the opening and closing tags of the System.Web.UI.WebControls.DataList control. You can then list the style attributes within the opening <SeparatorStyle> tag.

Requirements

Namespace: System.Web.UI.WebControls
Assembly: System.Web (in System.Web.dll)
Assembly Versions: 1.0.5000.0, 2.0.0.0