Edit

Share via


DynamicFieldDesigner.IsEnabled(DataBoundControl) Method

Definition

Gets a value that indicates whether the data field is enabled in the fields editor.

public:
 override bool IsEnabled(System::Web::UI::WebControls::DataBoundControl ^ parent);
public override bool IsEnabled (System.Web.UI.WebControls.DataBoundControl parent);
override this.IsEnabled : System.Web.UI.WebControls.DataBoundControl -> bool
Public Overrides Function IsEnabled (parent As DataBoundControl) As Boolean

Parameters

parent
DataBoundControl

The data-bound control whose data control fields are being edited.

Returns

true if the data field is enabled in the fields editor; false if the data field will not be displayed in the fields editor.

Remarks

If the IsEnabled method returns false, the data field will not be displayed in the fields editor. This occurs when the data-bound control does not contain the field yet

Applies to