Edit

Share via


CheckBoxField.GetDesignTimeValue Method

Definition

Retrieves the value used for the field's value when rendering the CheckBoxField object in a designer.

protected:
 override System::Object ^ GetDesignTimeValue();
protected override object GetDesignTimeValue ();
override this.GetDesignTimeValue : unit -> obj
Protected Overrides Function GetDesignTimeValue () As Object

Returns

Always returns true.

Remarks

The GetDesignTimeValue method is a helper method used to determine what value to display for a field when rendering the CheckBoxField object in a designer. If real data can not be retrieved from the data source at design time, the value returned by this method is displayed instead.

Notes to Inheritors

When extending the CheckBoxField class, you can override this method to return a different value to display for the field in a designer.

Applies to