development-plugin-for-avalonia

Information Architecture, Navigation, and Progressive Disclosure in Avalonia

Table of Contents

  1. Scope and Primary APIs
  2. Information-Architecture Rules
  3. Navigation Model Selection
  4. Progressive Disclosure Patterns
  5. AOT and Runtime Notes
  6. Do and Don’t Guidance
  7. Troubleshooting
  8. Official Resources

Scope and Primary APIs

Use this reference to structure a product so the design system supports task flow, not just styling.

Primary APIs:

This file covers:

Information-Architecture Rules

Structure the app around user goals:

  1. Orientation
    • users should know where they are and what area they are in.
  2. Progress
    • each surface should suggest the next sensible action.
  3. Scope
    • related actions and information stay together.
  4. Escalation
    • advanced settings and risky actions appear later, not first.

Practical rules:

Use the shell model that matches the product shape:

<SplitView xmlns="https://github.com/avaloniaui"
           xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
           DisplayMode="Inline"
           IsPaneOpen="True"
           OpenPaneLength="280"
           CompactPaneLength="56">
  <SplitView.Pane>
    <ListBox ItemContainerTheme="{StaticResource NavItemTheme}" />
  </SplitView.Pane>

  <TransitioningContentControl Content="{CompiledBinding CurrentPage}"
                               PageTransition="{StaticResource ShellPageTransition}" />
</SplitView>

Choose one primary navigation model per shell. Secondary models should explain local scope, not replace the global model.

Progressive Disclosure Patterns

Use disclosure to reduce initial complexity:

<StackPanel xmlns="https://github.com/avaloniaui"
            xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
            Spacing="12">
  <TextBlock Classes="title" Text="Release rollout" />
  <TextBlock Classes="body"
             Text="Choose an environment and confirm the rollout settings." />

  <Expander Header="Advanced rollout options">
    <StackPanel Spacing="8">
      <CheckBox Content="Pause after verification" />
      <CheckBox Content="Notify stakeholders on completion" />
    </StackPanel>
  </Expander>
</StackPanel>

Guidance:

AOT and Runtime Notes

Do and Don’t Guidance

Do:

Do not:

Troubleshooting

  1. The product feels visually polished but hard to use.
    • The problem is likely information architecture, not token quality.
  2. Users get lost between pages.
    • Rework the shell to make global and local navigation roles more distinct.
  3. Advanced options overwhelm simple tasks.
    • Move optional controls into disclosure surfaces and re-evaluate the default path.

Official Resources