編輯

共用方式為


FieldTemplateUserControl.Mode Property

Definition

Gets the mode a field template uses.

public:
 property System::Web::UI::WebControls::DataBoundControlMode Mode { System::Web::UI::WebControls::DataBoundControlMode get(); };
public System.Web.UI.WebControls.DataBoundControlMode Mode { get; }
[System.ComponentModel.Browsable(false)]
public System.Web.UI.WebControls.DataBoundControlMode Mode { get; }
member this.Mode : System.Web.UI.WebControls.DataBoundControlMode
[<System.ComponentModel.Browsable(false)>]
member this.Mode : System.Web.UI.WebControls.DataBoundControlMode
Public ReadOnly Property Mode As DataBoundControlMode

Property Value

The current mode of the field template.

Attributes

Remarks

The DataBoundControlMode that field templates uses include Insert, Edit, and ReadOnly.

Applies to