Specifies the identifier of the View for which the Action is activated, or a semicolon-separated list of identifiers if the Action targets multiple Views.
NuGet Package: DevExpress.ExpressApp
A string value that is a View identifier or a semicolon-separated list of View identifiers.
If an Action is contained in a View Controller, you can specify the ID of the View that must be displayed to activate the Action. By default, the TargetViewId property is set to “Any” (the ActionBase.AnyCaption constant value) which means that the Action is activated in any View where the View Controller is activated. You can set another TargetViewId value in the Controller’s constructor and specify the identifier of a View to activate the Action for a specific View. You can also specify multiple target Views by separating their identifiers with a semicolon (;). The Action will be activated for each listed View. The TargetViewId value is passed to the Application Model‘s IModelAction.TargetViewId property.