ContentPresenterApp property validation
- Last UpdatedJul 16, 2024
- 1 minute read
The properties listed in the ContentPresenterApp property grid are validated during design time to ensure proper configuration.
For most of the properties, design time validation occurs only when the property value is modified in the property grid. If the property is not modified in the property grid, validation will occur when the ViewApp is deployed to run time. Values entered for properties are checked, and if the required minimum configuration is not met, an visual cue indicating the error is shown in the app, and details of the error are sent to the Operations Control Logger.
When invalid ContentPresenterApp property values are detected at deployment, an error message appears when the ViewApp containing the ContentPresenterApp starts. The ViewApp continues running, but the pane containing the ContentPresenterApp shows an error message.

The ContentPresenterApp validates two sets of configuration property values:
-
Invalid row or column counts
The Display Rows or Display Columns properties are set to a negative number.
-
Invalid view port cell size
The SizeMode property is set to Fixed and the Fixed Width and Fixed Height properties are configured to 0.
Check the Operations Control Logger for one or more messages that describe the specific configuration error.