| AdditionalAttributes |
Dictionary<string, object>? |
null |
|
Gets or sets additional attributes that will be applied to the component. |
1.0.0 |
| AllowPan |
bool |
True |
|
Gets or sets whether the map's background can be dragged with a mouse or pen to scroll the map. |
4.1.0 |
| AllowSearch |
bool |
True |
|
Gets or sets whether the built-in find box is shown. |
4.1.0 |
| AllowZoom |
bool |
True |
|
Gets or sets whether the zoom controls are shown. |
4.1.0 |
| AutoBranchColors |
bool |
True |
|
Gets or sets whether each first-level branch takes the next Bootstrap palette color automatically. |
4.1.0 |
| BranchColor |
Func<TItem, MindMapColor?>? |
null |
|
Gets or sets a selector that pins a branch color for a node and its descendants. Return null to keep the inherited or automatic color. |
4.1.0 |
| Children |
Func<TItem, IEnumerable<TItem>?>? |
null |
|
Gets or sets the selector that returns a node's children. A null or empty result makes the node a leaf. |
4.1.0 |
| Class |
string? |
null |
|
Gets or sets the CSS class name(s) to apply to the component. |
1.0.0 |
| Direction |
MindMapDirection |
Right |
|
Gets or sets the direction in which branches grow from the root. |
4.1.0 |
| ExpandedItems |
IReadOnlyCollection<TItem>? |
null |
|
Gets or sets the open nodes. Use with @bind-ExpandedItems to read, set, or restore them. When null, InitialExpandDepth decides which nodes start open. |
4.1.0 |
| Id |
string? |
null |
|
Gets or sets the ID. If not set, a unique ID will be generated. |
1.0.0 |
| InitialExpandDepth |
int |
1 |
|
Gets or sets how deep nodes start open when ExpandedItems is not set. The root is depth 0, so 1 opens only the root. |
4.1.0 |
| Label |
Func<TItem, string>? |
null |
|
Gets or sets the selector that returns a node's label. When null, ToString() is used. Search matches this text. |
4.1.0 |
| NodeTemplate |
RenderFragment<MindMapNodeContext<TItem>>? |
null |
|
Gets or sets the template that fills each node card. Without it, the card shows the label. |
4.1.0 |
| PathLabel |
string |
Selected node path |
|
Gets or sets the accessible label of the path bar. |
4.1.0 |
| Root |
TItem? |
null |
|
Gets or sets the root item of the map. |
4.1.0 |
| SearchLabel |
string |
Find a node |
|
Gets or sets the accessible label of the find box. |
4.1.0 |
| SearchMatchesTextFormat |
string |
{0} matches |
|
Gets or sets the match count text format. {0} is replaced by the number of matches. |
4.1.0 |
| SearchNoMatchesText |
string |
No matches |
|
Gets or sets the text shown when a search has no matches. |
4.1.0 |
| SearchOneMatchText |
string |
1 match |
|
Gets or sets the text shown when a search has exactly one match. |
4.1.0 |
| SearchPlaceholder |
string |
Find a node… |
|
Gets or sets the placeholder of the find box. |
4.1.0 |
| SelectedItem |
TItem? |
null |
|
Gets or sets the selected node's item. Use with @bind-SelectedItem. |
4.1.0 |
| ShowPath |
bool |
True |
|
Gets or sets whether the path bar shows the labels from the root to the selected node. |
4.1.0 |
| StackLeaves |
bool |
False |
|
Gets or sets whether, in the Down and Up directions, a node whose two or more children are all leaves lists them in a column instead of side by side. |
4.1.0 |
| Style |
string? |
null |
|
Gets or sets the CSS style string that defines the inline styles for the component. |
1.0.0 |
| ZoomInText |
string |
Zoom in |
|
Gets or sets the accessible label of the zoom-in button. |
4.1.0 |
| ZoomOutText |
string |
Zoom out |
|
Gets or sets the accessible label of the zoom-out button. |
4.1.0 |
| ZoomResetText |
string |
Reset zoom |
|
Gets or sets the text of the reset-zoom button. |
4.1.0 |