RepeatInfo.CaptionAlign 属性

定义

如果 RepeatInfo 呈现为 Table,则获取或设置标题的对齐方式。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

属性值

TableCaptionAlign

呈现的表的 TableCaptionAlign 值。A TableCaptionAlign value for the rendered table. 默认值是 NotSetThe default value is NotSet.

例外

所选值不是 TableCaptionAlign 值之一。The selected value is not one of the TableCaptionAlign values.

注解

此属性设置 CaptionAlign 呈现的的属性 TableThis property sets the CaptionAlign property of the rendered Table.

适用于

另请参阅