PlaceHolder
in namespace DotVVM.Framework.Controls
Renders a control that does nothing, just wraps the DotvvmControl.
Usage & Scenarios
PlaceHolder
is a virtual control that doesn't render anything - it can only contain its children.
The control is not meant to be used in DotHTML markup - it helps the control developers to use multiple controls on a place where only one
DotvvmControl
is assumed, or to use it as an empty control with no output.
Properties
Name | Type | Description | Notes | Default Value | |
---|---|---|---|---|---|
ClientIDMode | ClientIDMode | Gets or sets the client ID generation algorithm. |
attribute
static value
|
Static | |
DataContext | Object | Gets or sets a data context for the control and its children. All value and command bindings are evaluated in context of this value. The DataContext is null in client-side templates. |
attribute
bindable
|
null | |
ID | String | Gets or sets the control client ID within its naming container. |
attribute
static value
bindable
|
null | |
IncludeInPage | Boolean | Gets or sets whether the control is included in the DOM of the page. |
attribute
bindable
|
True |