CyberStore Ecommerce 2023 Documentation
IgnoreWhenModel Property


Dovetail.Ecommerce.ControlBases Namespace > ItemControl Class : IgnoreWhenModel Property
Gets or sets a value indicating whether the control is to be ignored when the Item is a model.

Property Value

true if ignore when a model, false (default) if not.
Remarks

When the IngoreWhenModel property is true, then if the Item to be used is a Model, the control will set the IgnoreControl property to true which results in forcing all processing to stop and setting the control's Visible property to false so that it is not rendered to the page's HTML code.

Normal processing dictates that when a control is ignored, any and all sub-controls will also be ignored.

See Also

Reference

ItemControl Class
ItemControl Members
IgnoreWhenSKU Property
IgnoreWhenStockCode Property