DetailsViewRowsGenerator 類別

定義

可用來自動產生欄位,該欄位使用 DetailsView 控制項的 ASP.NET Dynamic Data 功能。Provides a way to automatically generate fields that use ASP.NET Dynamic Data features for the DetailsView control.

public ref class DetailsViewRowsGenerator : System::Web::UI::WebControls::AutoFieldsGenerator
public class DetailsViewRowsGenerator : System.Web.UI.WebControls.AutoFieldsGenerator
type DetailsViewRowsGenerator = class
    inherit AutoFieldsGenerator
Public Class DetailsViewRowsGenerator
Inherits AutoFieldsGenerator
繼承
DetailsViewRowsGenerator

建構函式

DetailsViewRowsGenerator()

初始化 DetailsViewRowsGenerator 類別的新執行個體。Initializes a new instance of the DetailsViewRowsGenerator class.

屬性

AutoGeneratedFieldProperties

傳回 AutoGeneratedField 物件的屬性清單。Returns a list of the properties of an AutoGeneratedField object.

(繼承來源 AutoFieldsGenerator)
AutoGenerateEnumFields

取得或設定值,這個值表示是否應該使用此 AutoFieldsGenerator 執行個體來產生列舉欄位。Gets or sets a value that indicates whether enumeration fields should be generated by this AutoFieldsGenerator instance.

(繼承來源 AutoFieldsGenerator)
IsTrackingViewState

取得值,指出是否正在追蹤檢視狀態變更。Gets a value that indicates whether view state changes are being tracked.

(繼承來源 AutoFieldsGenerator)

方法

CreateAutoGeneratedFieldFromFieldProperties(AutoGeneratedFieldProperties)

使用指定的欄位屬性集合,建立一個或多個自動產生的欄位。Creates one or more autogenerated fields using the specified collection of field properties.

(繼承來源 AutoFieldsGenerator)
CreateAutoGeneratedFields(Object, Control)

以目前資料項目為基礎產生欄位。Generates fields based on the current data item.

Equals(Object)

判斷指定的物件是否等於目前的物件。Determines whether the specified object is equal to the current object.

(繼承來源 Object)
GenerateFields(Control)

根據資料表的中繼資料資訊,建立 DynamicField 物件。Creates DynamicField objects based on metadata information for the table.

(繼承來源 AutoFieldsGenerator)
GetHashCode()

做為預設雜湊函式。Serves as the default hash function.

(繼承來源 Object)
GetType()

取得目前執行個體的 TypeGets the Type of the current instance.

(繼承來源 Object)
LoadViewState(Object)

載入先前使用 SaveViewState() 方法已儲存的狀態。Loads the state that was saved previously using the SaveViewState() method.

(繼承來源 AutoFieldsGenerator)
MemberwiseClone()

建立目前 Object 的淺層複製。Creates a shallow copy of the current Object.

(繼承來源 Object)
SaveViewState()

將變更儲存至類別的狀態。Saves the changes to the class's state.

(繼承來源 AutoFieldsGenerator)
ToString()

傳回代表目前物件的字串。Returns a string that represents the current object.

(繼承來源 Object)
TrackViewState()

指示類別追蹤其檢視狀態的變更。Instructs the class to track changes to its view state.

(繼承來源 AutoFieldsGenerator)

明確介面實作

IStateManager.IsTrackingViewState

取得值,指出是否正在追蹤檢視狀態變更。Gets a value that indicates whether view state changes are being tracked.

(繼承來源 AutoFieldsGenerator)
IStateManager.LoadViewState(Object)

載入先前使用 SaveViewState() 方法已儲存的狀態。Loads the state that was saved previously using the SaveViewState() method.

(繼承來源 AutoFieldsGenerator)
IStateManager.SaveViewState()

將變更儲存至類別的狀態。Saves the changes to a class's state.

(繼承來源 AutoFieldsGenerator)
IStateManager.TrackViewState()

指示類別追蹤其檢視狀態的變更。Instructs the class to track changes to its view state.

(繼承來源 AutoFieldsGenerator)

適用於