- Home
- /
- Design
- /
- DMBBootstrapBuilder
- /
- Overridable views
Overridable views
Debug helpers to visualise and mark overridable view regions at runtime.
Path markers
DebugOverridablePath() renders a badge showing the current view path. OverridableViewDebugBuilder() targets a specific path and marks it as an override.
Path markers
C#
@await Html.PartialAsync("Examples_Raw/OverridableViewDebug/_OVDPathMarker_Raw")C#
@await Html.PartialAsync("Examples_Raw/OverridableViewDebug/_OVDPathMarker_Raw")Section wrapper
DebugOverridablePathSection(path) wraps a block of content and injects HTML comments marking the overridable region boundaries.
Section wrapper
C#
@await Html.PartialAsync("Examples_Raw/OverridableViewDebug/_OVDSectionWrapper_Raw")C#
@await Html.PartialAsync("Examples_Raw/OverridableViewDebug/_OVDSectionWrapper_Raw")
Session Consent : Consent to use session for this website