System.Web.UI.WebControls.DataList.FooterStyle Property

Gets the style properties for the footer section of 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 FooterStyle { get; }

Value

Documentation for this section has not yet been entered.

Remarks

Use this property to provide a custom style for the footer section of 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.

The DataList.FooterStyle property of the System.Web.UI.WebControls.DataList control inherits the style settings of the WebControl.ControlStyle property. For example, if you specify a red font for the WebControl.ControlStyle property, the DataList.FooterStyle property will also have a red font. This allows you to provide a common appearance for the control by setting a single style property. You can override the inherited style settings by setting the DataList.FooterStyle property. For example, you can specify a blue font for the DataList.FooterStyle property, overriding the red font specified in the WebControl.ControlStyle property.

To specify a custom style for the footer section, place the <FooterStyle> 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 <FooterStyle> tag.

Note:

The DataList.ShowFooter property must be set to true for this property to be visible.

Requirements

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