Class PreviewOptionTargets
The transition target id an UiOption resolves to for preview navigation: only a TRANSITION
option carries one, every other option previews as non-navigable. Shared by
MenuPreviewBuilder (the live-render OptionTargets) and
SerenityUiWireframePainter (TransitionTarget)
so both preview modes agree on which options navigate. Public (not internal): the Menu module's own
NavigationNodeRowSetBuilder reuses this exact rule too, to derive an editable row's live outbound
edges from a draft's authored options — the same concern, a different assembly.
Inherited Members
Namespace: Serenity.Ui.Infrastructure.Editor.Preview
Assembly: Serenity.UnityUi.Infrastructure.Editor.dll
Syntax
public static class PreviewOptionTargets
Methods
TransitionTargetOf(UiOption)
The option's TRANSITION target id, or null when it is not a TRANSITION option.
Declaration
public static string TransitionTargetOf(UiOption option)
Parameters
| Type | Name | Description |
|---|---|---|
| UiOption | option |
Returns
| Type | Description |
|---|---|
| string |