Dela via


FormContext.CanRenderAtEndOfForm Property

Definition

Gets or sets an indication whether extra content can be rendered at the end of the content of this <form> element. That is, EndOfFormContent will be rendered just prior to the </form> end tag.

public:
 property bool CanRenderAtEndOfForm { bool get(); void set(bool value); };
public bool CanRenderAtEndOfForm { get; set; }
member this.CanRenderAtEndOfForm : bool with get, set
Public Property CanRenderAtEndOfForm As Boolean

Property Value

true if the framework will render EndOfFormContent; false otherwise. In particular, true if the current <form> is associated with a tag helper or will be generated by an HTML helper; false when using the default FormContext instance.

Applies to