編輯

共用方式為


RepeatInfo.CaptionAlign Property

Definition

Gets or sets the alignment of the caption, if the RepeatInfo is rendered as a Table.

public:
 property System::Web::UI::WebControls::TableCaptionAlign CaptionAlign { System::Web::UI::WebControls::TableCaptionAlign get(); void set(System::Web::UI::WebControls::TableCaptionAlign value); };
public System.Web.UI.WebControls.TableCaptionAlign CaptionAlign { get; set; }
member this.CaptionAlign : System.Web.UI.WebControls.TableCaptionAlign with get, set
Public Property CaptionAlign As TableCaptionAlign

Property Value

A TableCaptionAlign value for the rendered table. The default value is NotSet.

Exceptions

The selected value is not one of the TableCaptionAlign values.

Remarks

This property sets the CaptionAlign property of the rendered Table.

Applies to

See also