CheckBoxField.GetDesignTimeValue 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.
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
Обратная связь
https://aka.ms/ContentUserFeedback.
Ожидается в ближайшее время: в течение 2024 года мы постепенно откажемся от GitHub Issues как механизма обратной связи для контента и заменим его новой системой обратной связи. Дополнительные сведения см. в разделеОтправить и просмотреть отзыв по