DynamicFieldDesigner.IsEnabled(DataBoundControl) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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