SectionWizard Class

Contains the content of the help item

Definition

Namespace: MobileTrack.Web.Portal.Pages.Admin.Helps
Assembly: MobileTrack.Web.Portal (in MobileTrack.Web.Portal.exe) Version: 0.7+1dadc87dcf0a0f837e19a3ce2deb7c1cd85375d1
public class SectionWizard : ComponentBase, 
	IHasLocalization
Inheritance
Object    ComponentBase    SectionWizard
Implements
IHasLocalization

Constructors

SectionWizardInitializes a new instance of the SectionWizard class

Properties

HelpToUpdate List of help contents
IsCreate True if the user is creating a HelpDto
Language Gets or sets the language code to use for localization or content rendering.
Loc Dependency injection for the localization tool. It derives texts established in CosmosDB's "LocalizedStrings" container. It can be used by invoking it as an array, with the key of the text you want to get. Parameters for the string can be added in the array as well, similar to Format(String, Object).
If the text is not found, it will return the key itself as fallback.

The language the key will be localized based on is based on the CurrentCulture and the CurrentUICulture.
If you want to localize something in a different language, you will have to apply the culture on the CultureInfo properties, get the text,
and revert back to the original culture.
OnFinish Event callback that is invoked when the wizard process is completed, allowing parent components to respond to the completion event.
SegmentTabs Gets or sets the collection of tabs representing segments within the wizard
ShowTips Indicates whether to show tips for editing the help content.

Methods

BuildRenderTree
(Overrides ComponentBaseBuildRenderTree(RenderTreeBuilder))
HideAsync Hide the modal
ShowSectionModalAsync Show the modal to edit page section
SyncTextEditorsToModelAsync Sync the content from the text editors in the UI to the underlying model, ensuring that any changes made by the user are reflected in the data structure.

See Also