Provides a primary navigation shell.
When to use it
Section titled “When to use it”Use for top-level destinations with a responsive navigation pane.
Behavior
Section titled “Behavior”A navigation pane with menu items and a content area (WinUI’s NavigationView).
The pane is at the left (Left, LeftCompact, LeftMinimal, or chosen by the width in Auto:
the display modes Expanded, Compact and Minimal) or at the top (Top). The template of the
WinUI theme is WinUI’s (NavigationView.xaml): the control finds WinUI’s parts (RootSplitView,
TogglePaneButton, NavigationViewBackButton, NavigationViewCloseButton,
PaneAutoSuggestButton, PaneTitleTextBlock, PaneTitleHolder, PaneTitlePresenter,
PaneTitleOnTopPane, MenuItemsHost, FooterMenuItemsHost, TopNavMenuItemsHost,
TopFooterMenuItemsHost, the content controls of the pane header, custom content, footer and auto
suggest box of the left and the top pane, ContentLeftPadding), sets their contents and the
values of template_settings as WinUI’s code does, and sets WinUI’s
visual states as pseudo-classes (:compact, :expanded, :minimal, :top-navigation-minimal,
:minimal-with-back-button, :toggle-pane-button-visible, :header-collapsed,
:auto-suggest-box-collapsed, :closed-compact, :list-size-compact, :pane-not-overlaying,
:back-button-collapsed, :pane-collapsed, and :back-button-row-visible for the row WinUI
sizes in code). The Fluent and Simple themes have no template.
The menu items are realized in stack panels, not in ItemsRepeaters with a hierarchical
SelectionModel (follow-up F1). Missing (docs/porting/winui-controls.md, section 10.4): the
overflow of the top pane, the animations of the pane, the
shadow of the pane, the padding of the title bar, the shoulder navigation and the selectors of
templates and styles.
XAML and inheritance
Section titled “XAML and inheritance”Rust path: ferroui_controls::NavigationView. XAML namespace: FerroUI.Controls.
Base type: ContentControl. Its layout, input, and styling behavior also applies.
The content property is Content; unnamed child content is assigned there.
Registered properties
Section titled “Registered properties”| Property | Rust value type | Declared by | Behavior | Default binding |
|---|---|---|---|---|
Above |
core::option::Option<alloc::rc::Rc<dyn ferroui_base::ferro_property::AnyValue>> |
RelativePanel | Attached, Styled | OneWay |
AcceleratorKey |
core::option::Option<alloc::string::String> |
AutomationProperties | Attached, Styled | OneWay |
AccessKey |
core::option::Option<alloc::string::String> |
AutomationProperties | Attached, Styled | OneWay |
AccessibilityView |
ferroui_controls::automation::automation_properties::AccessibilityView |
AutomationProperties | Attached, Styled | OneWay |
ActualThemeVariant |
core::option::Option<ferroui_base::styling::theme_variant::ThemeVariant> |
StyledElement | Styled, Inherited value | OneWay |
AdornedElement |
core::option::Option<ferroui_base::element_ref::ElementRef<ferroui_base::visual::Visual>> |
AdornerLayer | Attached, Styled | OneWay |
AdornedElementInfo |
core::option::Option<ferroui_controls::primitives::adorner_layer::AdornedElementInfoHandle> |
AdornerLayer | Attached, Styled | OneWay |
Adorner |
core::option::Option<ferroui_base::type_system::Ref<ferroui_controls::control::Control>> |
AdornerLayer | Attached, Styled | OneWay |
AdornerAttachmentSubscriptions |
core::option::Option<ferroui_controls::primitives::adorner_layer::AttachmentSubscriptions> |
AdornerLayer | Attached, Styled | OneWay |
AlignBottomWith |
core::option::Option<alloc::rc::Rc<dyn ferroui_base::ferro_property::AnyValue>> |
RelativePanel | Attached, Styled | OneWay |
AlignBottomWithPanel |
bool |
RelativePanel | Attached, Styled | OneWay |
AlignHorizontalCenterWith |
core::option::Option<alloc::rc::Rc<dyn ferroui_base::ferro_property::AnyValue>> |
RelativePanel | Attached, Styled | OneWay |
AlignHorizontalCenterWithPanel |
bool |
RelativePanel | Attached, Styled | OneWay |
AlignLeftWith |
core::option::Option<alloc::rc::Rc<dyn ferroui_base::ferro_property::AnyValue>> |
RelativePanel | Attached, Styled | OneWay |
AlignLeftWithPanel |
bool |
RelativePanel | Attached, Styled | OneWay |
AlignRightWith |
core::option::Option<alloc::rc::Rc<dyn ferroui_base::ferro_property::AnyValue>> |
RelativePanel | Attached, Styled | OneWay |
AlignRightWithPanel |
bool |
RelativePanel | Attached, Styled | OneWay |
AlignSelf |
core::option::Option<ferroui_controls::flex_panel::flex_align_items::FlexAlignItems> |
Flex | Attached, Styled | OneWay |
AlignTopWith |
core::option::Option<alloc::rc::Rc<dyn ferroui_base::ferro_property::AnyValue>> |
RelativePanel | Attached, Styled | OneWay |
AlignTopWithPanel |
bool |
RelativePanel | Attached, Styled | OneWay |
AlignVerticalCenterWith |
core::option::Option<alloc::rc::Rc<dyn ferroui_base::ferro_property::AnyValue>> |
RelativePanel | Attached, Styled | OneWay |
AlignVerticalCenterWithPanel |
bool |
RelativePanel | Attached, Styled | OneWay |
AllowAutoHide |
bool |
ScrollViewer | Attached, Styled | OneWay |
AllowDrop |
bool |
DragDrop | Attached, Styled, Inherited value | OneWay |
AllowFocusOnInteraction |
bool |
InputElement | Styled, Inherited value | OneWay |
AlwaysShowHeader |
bool |
NavigationView | Styled | OneWay |
AnnotationAlternates |
i32 |
Typography | Attached, Styled, Inherited value | OneWay |
AppliedItemContainerTheme |
core::option::Option<ferroui_base::type_system::Ref<ferroui_base::styling::control_theme::ControlTheme>> |
ItemsControl | Attached, Styled | OneWay |
AttachedFlyout |
core::option::Option<ferroui_base::type_system::Ref<ferroui_controls::flyouts::flyout_base::FlyoutBase>> |
FlyoutBase | Attached, Styled | OneWay |
AutoCapitalization |
bool |
TextInputOptions | Attached, Styled, Inherited value | OneWay |
AutoSafeAreaPadding |
bool |
TopLevel | Attached, Styled | OneWay |
AutoSuggestBox |
core::option::Option<ferroui_base::type_system::Ref<ferroui_controls::auto_suggest_box::AutoSuggestBox>> |
NavigationView | Styled | OneWay |
AutomationId |
core::option::Option<alloc::string::String> |
AutomationProperties | Attached, Styled | OneWay |
Background |
core::option::Option<alloc::rc::Rc<dyn ferroui_base::media::i_brush::IBrush>> |
Border | Styled | OneWay |
BackgroundSizing |
ferroui_base::media::background_sizing::BackgroundSizing |
Border | Styled | OneWay |
BaseLength |
f64 |
Flex | Attached, Styled | OneWay |
BaselineOffset |
f64 |
TextBlock | Attached, Styled, Inherited value | OneWay |
Basis |
ferroui_controls::flex_panel::flex_basis::FlexBasis |
Flex | Attached, Styled | OneWay |
Below |
core::option::Option<alloc::rc::Rc<dyn ferroui_base::ferro_property::AnyValue>> |
RelativePanel | Attached, Styled | OneWay |
BetweenShowDelay |
i32 |
ToolTip | Attached, Styled | OneWay |
BorderBrush |
core::option::Option<alloc::rc::Rc<dyn ferroui_base::media::i_brush::IBrush>> |
Border | Styled | OneWay |
BorderThickness |
ferroui_base::thickness::Thickness |
Border | Styled | OneWay |
Bottom |
f64 |
Canvas | Attached, Styled | OneWay |
Bounds |
ferroui_base::rect::Rect |
Visual | Read-only, Direct | OneWay |
BringIntoViewOnFocusChange |
bool |
ScrollViewer | Attached, Styled | OneWay |
CacheMode |
core::option::Option<ferroui_base::type_system::Ref<ferroui_base::media::cache_mode::CacheMode>> |
Visual | Styled | OneWay |
CapitalSpacing |
bool |
Typography | Attached, Styled, Inherited value | OneWay |
Capitals |
ferroui_base::media::font_typography::FontCapitals |
Typography | Attached, Styled, Inherited value | OneWay |
CaseSensitiveForms |
bool |
Typography | Attached, Styled, Inherited value | OneWay |
ClassNameOverride |
core::option::Option<alloc::string::String> |
AutomationProperties | Attached, Styled | OneWay |
Clip |
core::option::Option<ferroui_base::type_system::Ref<ferroui_base::media::geometry::Geometry>> |
Visual | Styled | OneWay |
ClipToBounds |
bool |
Visual | Styled | OneWay |
Clock |
core::option::Option<alloc::rc::Rc<dyn ferroui_base::animation::i_clock::IClock>> |
Animatable | Styled, Inherited value | OneWay |
Column |
i32 |
Grid | Attached, Styled | OneWay |
ColumnSpan |
i32 |
Grid | Attached, Styled | OneWay |
CompactModeThresholdWidth |
f64 |
NavigationView | Styled | OneWay |
CompactPaneLength |
f64 |
NavigationView | Styled | OneWay |
Content |
core::option::Option<alloc::rc::Rc<dyn ferroui_base::ferro_property::AnyValue>> |
ContentControl | Styled | OneWay |
ContentOverlay |
core::option::Option<ferroui_base::type_system::Ref<ferroui_controls::control::Control>> |
NavigationView | Styled | OneWay |
ContentTemplate |
core::option::Option<alloc::rc::Rc<dyn ferroui_controls::templates::i_data_template::IDataTemplate>> |
ContentControl | Styled | OneWay |
ContentType |
ferroui_base::input::text_input::text_input_content_type::TextInputContentType |
TextInputOptions | Attached, Styled, Inherited value | OneWay |
ContextFlyout |
core::option::Option<ferroui_base::type_system::Ref<ferroui_controls::flyouts::flyout_base::FlyoutBase>> |
Control | Styled | OneWay |
ContextMenu |
core::option::Option<ferroui_base::type_system::Ref<ferroui_controls::context_menu::ContextMenu>> |
Control | Styled | OneWay |
ContextualAlternates |
bool |
Typography | Attached, Styled, Inherited value | OneWay |
ContextualLigatures |
bool |
Typography | Attached, Styled, Inherited value | OneWay |
ContextualSwashes |
i32 |
Typography | Attached, Styled, Inherited value | OneWay |
ControlTypeOverride |
core::option::Option<ferroui_controls::automation::peers::automation_peer::AutomationControlType> |
AutomationProperties | Attached, Styled | OneWay |
CornerRadius |
ferroui_base::corner_radius::CornerRadius |
Border | Styled | OneWay |
CurrentLength |
f64 |
Flex | Attached, Styled | OneWay |
Cursor |
core::option::Option<alloc::rc::Rc<ferroui_base::input::cursor::Cursor>> |
InputElement | Styled, Inherited value | OneWay |
CustomPopupPlacementCallback |
core::option::Option<ferroui_controls::primitives::popup::CustomPopupPlacementCallbackValue> |
ToolTip | Attached, Styled | OneWay |
CustomVisualStateManager |
core::option::Option<ferroui_base::type_system::Ref<ferroui_controls::visual_state::visual_state_manager::VisualStateManager>> |
VisualStateManager | Attached, Styled | OneWay |
DataContext |
core::option::Option<alloc::rc::Rc<dyn ferroui_base::ferro_property::AnyValue>> |
StyledElement | Styled, Inherited value | OneWay |
DesignStyle |
core::option::Option<ferroui_controls::design::DesignStyleValue> |
Design | Attached, Styled | OneWay |
DesiredSize |
ferroui_base::size::Size |
Layoutable | Read-only, Direct | OneWay |
DiscretionaryLigatures |
bool |
Typography | Attached, Styled, Inherited value | OneWay |
DisplayMode |
ferroui_controls::navigation_view_events::NavigationViewDisplayMode |
NavigationView | Read-only, Direct | OneWay |
Dock |
ferroui_controls::dock_panel::Dock |
DockPanel | Attached, Styled | OneWay |
Down |
core::option::Option<ferroui_base::type_system::Ref<ferroui_base::input::input_element::InputElement>> |
XYFocus | Attached, Styled | OneWay |
DownNavigationStrategy |
ferroui_base::input::navigation::xy_focus_navigation_strategy::XYFocusNavigationStrategy |
XYFocus | Attached, Styled, Inherited value | OneWay |
EastAsianExpertForms |
bool |
Typography | Attached, Styled, Inherited value | OneWay |
EastAsianLanguage |
ferroui_base::media::font_typography::FontEastAsianLanguage |
Typography | Attached, Styled, Inherited value | OneWay |
EastAsianWidths |
ferroui_base::media::font_typography::FontEastAsianWidths |
Typography | Attached, Styled, Inherited value | OneWay |
Effect |
core::option::Option<alloc::rc::Rc<dyn ferroui_base::media::effects::i_effect::IEffect>> |
Visual | Styled | OneWay |
ElementRole |
ferroui_base::input::window_decorations_element_role::WindowDecorationsElementRole |
WindowDecorationProperties | Attached, Styled | OneWay |
ExpandedModeThresholdWidth |
f64 |
NavigationView | Styled | OneWay |
FeedbackType |
ferroui_controls::platform::i_platform_feedback::FeedbackType |
PlatformFeedback | Attached, Styled | OneWay |
FlowDirection |
ferroui_base::media::flow_direction::FlowDirection |
Visual | Attached, Styled, Inherited value | OneWay |
FocusAdorner |
core::option::Option<alloc::rc::Rc<dyn ferroui_controls::templates::i_template::ITemplateOf<core::option::Option<ferroui_base::type_system::Ref<ferroui_controls::control::Control>>>>> |
Control | Styled | OneWay |
Focusable |
bool |
InputElement | Styled | OneWay |
FocusedElement |
core::option::Option<ferroui_base::element_ref::ElementRef<ferroui_base::input::input_element::InputElement>> |
FocusManager | Attached, Styled | OneWay |
FontFamily |
ferroui_base::media::font_family::FontFamily |
TextElement | Attached, Styled, Inherited value | OneWay |
FontFeatures |
core::option::Option<ferroui_base::media::font_feature_collection::FontFeatureCollection> |
TextElement | Attached, Styled, Inherited value | OneWay |
FontSize |
f64 |
TextElement | Attached, Styled, Inherited value | OneWay |
FontStretch |
ferroui_base::media::font_stretch::FontStretch |
TextElement | Attached, Styled, Inherited value | OneWay |
FontStyle |
ferroui_base::media::font_style::FontStyle |
TextElement | Attached, Styled, Inherited value | OneWay |
FontWeight |
ferroui_base::media::font_weight::FontWeight |
TextElement | Attached, Styled, Inherited value | OneWay |
FooterMenuItems |
ferroui_controls::item_collection::ItemCollection |
NavigationView | Read-only, Direct | OneWay |
FooterMenuItemsSource |
core::option::Option<ferroui_controls::items_source::ItemsSource> |
NavigationView | Styled | OneWay |
Foreground |
core::option::Option<alloc::rc::Rc<dyn ferroui_base::media::i_brush::IBrush>> |
TextElement | Attached, Styled, Inherited value | OneWay |
Fraction |
ferroui_base::media::font_typography::FontFraction |
Typography | Attached, Styled, Inherited value | OneWay |
Grow |
f64 |
Flex | Attached, Styled | OneWay |
HasMirrorTransform |
bool |
Visual | Read-only, Direct | OneWay |
Header |
core::option::Option<alloc::rc::Rc<dyn ferroui_base::ferro_property::AnyValue>> |
NavigationView | Styled | OneWay |
HeaderTemplate |
core::option::Option<alloc::rc::Rc<dyn ferroui_controls::templates::i_data_template::IDataTemplate>> |
NavigationView | Styled | OneWay |
HeadingLevel |
i32 |
AutomationProperties | Attached, Styled | OneWay |
Height |
f64 |
Layoutable | Styled | OneWay |
HelpText |
core::option::Option<alloc::string::String> |
AutomationProperties | Attached, Styled | OneWay |
HistoricalForms |
bool |
Typography | Attached, Styled, Inherited value | OneWay |
HistoricalLigatures |
bool |
Typography | Attached, Styled, Inherited value | OneWay |
HorizontalAlignment |
ferroui_base::layout::layoutable::HorizontalAlignment |
Layoutable | Styled | OneWay |
HorizontalContentAlignment |
ferroui_base::layout::layoutable::HorizontalAlignment |
ContentControl | Styled | OneWay |
HorizontalOffset |
f64 |
ToolTip | Attached, Styled | OneWay |
HorizontalOrientationMargin |
ferroui_base::thickness::Thickness |
InfoBarPanel | Attached, Styled | OneWay |
HorizontalScrollBarVisibility |
ferroui_controls::primitives::scroll_bar_visibility::ScrollBarVisibility |
ScrollViewer | Attached, Styled | OneWay |
HorizontalSnapPointsAlignment |
ferroui_controls::primitives::snap_points_alignment::SnapPointsAlignment |
ScrollViewer | Attached, Styled | OneWay |
HorizontalSnapPointsType |
ferroui_controls::primitives::snap_points_type::SnapPointsType |
ScrollViewer | Attached, Styled | OneWay |
HotKey |
core::option::Option<ferroui_base::input::key_gesture::KeyGesture> |
HotKeyManager | Attached, Styled | OneWay |
InputScopeNames |
core::option::Option<alloc::rc::Rc<[ferroui_base::input::input_scope_name_value::InputScopeNameValue]>> |
TextInputOptions | Attached, Styled, Inherited value | OneWay |
IsBackButtonVisible |
ferroui_controls::navigation_view_events::NavigationViewBackButtonVisible |
NavigationView | Styled | OneWay |
IsBackEnabled |
bool |
NavigationView | Styled | OneWay |
IsClipEnabled |
bool |
AdornerLayer | Attached, Styled | OneWay |
IsColumnHeader |
bool |
AutomationProperties | Attached, Styled | OneWay |
IsContainer |
bool |
RevealBrush | Attached, Styled | OneWay |
IsControlElementOverride |
core::option::Option<bool> |
AutomationProperties | Attached, Styled | OneWay |
IsDeferredScrollingEnabled |
bool |
ScrollViewer | Attached, Styled | OneWay |
IsDragRegion |
core::option::Option<bool> |
TitleBar | Attached, Styled | OneWay |
IsEffectivelyEnabled |
bool |
InputElement | Read-only, Direct | OneWay |
IsEnabled |
bool |
InputElement | Styled | OneWay |
IsFocusEngaged |
bool |
XYFocus | Attached, Styled | OneWay |
IsFocusEngagementEnabled |
bool |
XYFocus | Attached, Styled | OneWay |
IsFocused |
bool |
InputElement | Read-only, Direct | OneWay |
IsHitTestVisible |
bool |
InputElement | Styled | OneWay |
IsHoldWithMouseEnabled |
bool |
InputElement | Attached, Styled | OneWay |
IsHoldingEnabled |
bool |
InputElement | Attached, Styled | OneWay |
IsInputMethodEnabled |
bool |
InputMethod | Attached, Styled | OneWay |
IsKeyboardFocusWithin |
bool |
InputElement | Read-only, Direct | OneWay |
IsOffscreenBehavior |
ferroui_controls::automation::is_offscreen_behavior::IsOffscreenBehavior |
AutomationProperties | Attached, Styled | OneWay |
IsOpen |
bool |
ToolTip | Attached, Styled | OneWay |
IsPaneOpen |
bool |
NavigationView | Styled | OneWay |
IsPaneToggleButtonVisible |
bool |
NavigationView | Styled | OneWay |
IsPaneVisible |
bool |
NavigationView | Styled | OneWay |
IsPointerOver |
bool |
InputElement | Read-only, Direct | OneWay |
IsRequiredForForm |
bool |
AutomationProperties | Attached, Styled | OneWay |
IsRowHeader |
bool |
AutomationProperties | Attached, Styled | OneWay |
IsScrollChainingEnabled |
bool |
ScrollViewer | Attached, Styled | OneWay |
IsScrollInertiaEnabled |
bool |
ScrollViewer | Attached, Styled | OneWay |
IsSelected |
bool |
SelectingItemsControl | Attached, Styled | TwoWay |
IsSensitive |
bool |
TextInputOptions | Attached, Styled, Inherited value | OneWay |
IsSettingsVisible |
bool |
NavigationView | Styled | OneWay |
IsSharedSizeScope |
bool |
Grid | Attached, Styled | OneWay |
IsTabStop |
bool |
KeyboardNavigation | Attached, Styled | OneWay |
IsTarget |
bool |
XamlAmbientLight | Attached, Styled | OneWay |
IsTemplateFocusTarget |
bool |
TemplatedControl | Attached, Styled | OneWay |
IsVisible |
bool |
Visual | Styled | OneWay |
ItemCornerRadius |
ferroui_base::corner_radius::CornerRadius |
MaterialSegmentedGroup | Attached, Styled | OneWay |
ItemStatus |
core::option::Option<alloc::string::String> |
AutomationProperties | Attached, Styled | OneWay |
ItemType |
core::option::Option<alloc::string::String> |
AutomationProperties | Attached, Styled | OneWay |
Kerning |
bool |
Typography | Attached, Styled, Inherited value | OneWay |
LabeledBy |
core::option::Option<ferroui_base::element_ref::ElementRef<ferroui_controls::control::Control>> |
AutomationProperties | Attached, Styled | OneWay |
LandmarkType |
core::option::Option<ferroui_controls::automation::peers::automation_peer::AutomationLandmarkType> |
AutomationProperties | Attached, Styled | OneWay |
Language |
icu_locale_core::locale::Locale |
TextElement | Attached, Styled, Inherited value | OneWay |
LayoutRoundingPlacement |
ferroui_controls::text_layout_rounding_placement::TextLayoutRoundingPlacement |
TextBlock | Attached, Styled, Inherited value | OneWay |
Left |
f64 |
Canvas | Attached, Styled | OneWay |
LeftNavigationStrategy |
ferroui_base::input::navigation::xy_focus_navigation_strategy::XYFocusNavigationStrategy |
XYFocus | Attached, Styled, Inherited value | OneWay |
LeftOf |
core::option::Option<alloc::rc::Rc<dyn ferroui_base::ferro_property::AnyValue>> |
RelativePanel | Attached, Styled | OneWay |
LetterSpacing |
f64 |
TextElement | Attached, Styled, Inherited value | OneWay |
LineHeight |
f64 |
TextBlock | Attached, Styled, Inherited value | OneWay |
LineSpacing |
f64 |
TextBlock | Attached, Styled, Inherited value | OneWay |
LiveSetting |
ferroui_controls::automation::automation_live_setting::AutomationLiveSetting |
AutomationProperties | Attached, Styled | OneWay |
LocaleHints |
core::option::Option<alloc::rc::Rc<[alloc::string::String]>> |
TextInputOptions | Attached, Styled, Inherited value | OneWay |
Lowercase |
bool |
TextInputOptions | Attached, Styled, Inherited value | OneWay |
Margin |
ferroui_base::thickness::Thickness |
Layoutable | Styled | OneWay |
MathematicalGreek |
bool |
Typography | Attached, Styled, Inherited value | OneWay |
MaxHeight |
f64 |
Layoutable | Styled | OneWay |
MaxLines |
i32 |
TextBlock | Attached, Styled, Inherited value | OneWay |
MaxWidth |
f64 |
Layoutable | Styled | OneWay |
Menu |
core::option::Option<ferroui_base::type_system::Ref<ferroui_controls::native_menu::NativeMenu>> |
NativeDock | Attached, Styled | OneWay |
MenuItemContainerStyle |
core::option::Option<ferroui_base::type_system::Ref<ferroui_base::styling::control_theme::ControlTheme>> |
NavigationView | Styled | OneWay |
MenuItemTemplate |
core::option::Option<alloc::rc::Rc<dyn ferroui_controls::templates::i_data_template::IDataTemplate>> |
NavigationView | Styled | OneWay |
MenuItems |
ferroui_controls::item_collection::ItemCollection |
NavigationView | Read-only, Direct | OneWay |
MenuItemsSource |
core::option::Option<ferroui_controls::items_source::ItemsSource> |
NavigationView | Styled | OneWay |
MinHeight |
f64 |
Layoutable | Styled | OneWay |
MinWidth |
f64 |
Layoutable | Styled | OneWay |
Multiline |
bool |
TextInputOptions | Attached, Styled, Inherited value | OneWay |
Name |
core::option::Option<alloc::string::String> |
StyledElement | Direct | OneWay |
NameScope |
core::option::Option<ferroui_base::controls::i_name_scope::NameScopeRef> |
NameScope | Attached, Styled | OneWay |
NavigationModes |
ferroui_base::input::navigation::xy_focus_navigation_modes::XYFocusNavigationModes |
XYFocus | Attached, Styled, Inherited value | OneWay |
NonClientHitTestResult |
ferroui_controls::platform::win32_properties::Win32HitTestValue |
Win32Properties | Attached, Styled, Inherited value | OneWay |
NumeralAlignment |
ferroui_base::media::font_typography::FontNumeralAlignment |
Typography | Attached, Styled, Inherited value | OneWay |
NumeralStyle |
ferroui_base::media::font_typography::FontNumeralStyle |
Typography | Attached, Styled, Inherited value | OneWay |
Opacity |
f64 |
Visual | Styled | OneWay |
OpacityMask |
core::option::Option<alloc::rc::Rc<dyn ferroui_base::media::i_brush::IBrush>> |
Visual | Styled | OneWay |
OpenPaneLength |
f64 |
NavigationView | Styled | OneWay |
Order |
i32 |
Flex | Attached, Styled | OneWay |
OriginTemplate |
core::option::Option<ferroui_controls_repeater::recycle_pool::OriginTemplate> |
RecyclePool | Attached, Styled | OneWay |
Padding |
ferroui_base::thickness::Thickness |
Decorator | Styled | OneWay |
PaneCustomContent |
core::option::Option<ferroui_base::type_system::Ref<ferroui_controls::control::Control>> |
NavigationView | Styled | OneWay |
PaneDisplayMode |
ferroui_controls::navigation_view_events::NavigationViewPaneDisplayMode |
NavigationView | Styled | OneWay |
PaneFooter |
core::option::Option<ferroui_base::type_system::Ref<ferroui_controls::control::Control>> |
NavigationView | Styled | OneWay |
PaneHeader |
core::option::Option<ferroui_base::type_system::Ref<ferroui_controls::control::Control>> |
NavigationView | Styled | OneWay |
PaneTitle |
alloc::string::String |
NavigationView | Styled | OneWay |
PaneToggleButtonStyle |
core::option::Option<ferroui_base::type_system::Ref<ferroui_base::styling::control_theme::ControlTheme>> |
NavigationView | Styled | OneWay |
Parent |
core::option::Option<ferroui_base::type_system::Ref<ferroui_base::styled_element::StyledElement>> |
StyledElement | Read-only, Direct | OneWay |
Placement |
ferroui_controls::placement_mode::PlacementMode |
ToolTip | Attached, Styled | OneWay |
PositionInSet |
i32 |
AutomationProperties | Attached, Styled | OneWay |
PreviewWith |
core::option::Option<ferroui_base::type_system::Ref<ferroui_controls::control::Control>> |
Design | Attached, Styled | OneWay |
PrivateSharedSizeScope |
core::option::Option<alloc::rc::Rc<ferroui_controls::definition_base::SharedSizeScope>> |
DefinitionBase | Attached, Styled, Inherited value | OneWay |
QueryProvider |
core::option::Option<ferroui_base::styling::visual_query_provider::VisualQueryProvider> |
Container | Attached, Styled | OneWay |
RecycleKey |
core::option::Option<ferroui_controls::generators::item_container_generator::RecycleKey> |
VirtualizingStackPanel | Attached, Styled | OneWay |
RenderTransform |
core::option::Option<alloc::rc::Rc<dyn ferroui_base::media::i_transform::ITransform>> |
Visual | Styled | OneWay |
RenderTransformOrigin |
ferroui_base::relative_point::RelativePoint |
Visual | Styled | OneWay |
RequestedThemeVariant |
core::option::Option<ferroui_base::styling::theme_variant::ThemeVariant> |
StyledElement | Styled | OneWay |
ReturnKeyType |
ferroui_base::input::text_input::text_input_return_key_type::TextInputReturnKeyType |
TextInputOptions | Attached, Styled, Inherited value | OneWay |
ReuseKey |
alloc::string::String |
RecyclePool | Attached, Styled | OneWay |
Right |
f64 |
Canvas | Attached, Styled | OneWay |
RightNavigationStrategy |
ferroui_base::input::navigation::xy_focus_navigation_strategy::XYFocusNavigationStrategy |
XYFocus | Attached, Styled, Inherited value | OneWay |
RightOf |
core::option::Option<alloc::rc::Rc<dyn ferroui_base::ferro_property::AnyValue>> |
RelativePanel | Attached, Styled | OneWay |
Row |
i32 |
Grid | Attached, Styled | OneWay |
RowSpan |
i32 |
Grid | Attached, Styled | OneWay |
SavedAdornerLayer |
core::option::Option<ferroui_controls::primitives::adorner_layer::SavedAdornerLayer> |
Visual | Attached, Styled | OneWay |
SelectedItem |
core::option::Option<alloc::rc::Rc<dyn ferroui_base::ferro_property::AnyValue>> |
NavigationView | Styled | OneWay |
SelectionFollowsFocus |
ferroui_controls::navigation_view_events::NavigationViewSelectionFollowsFocus |
NavigationView | Styled | OneWay |
ServiceEnabled |
bool |
ToolTip | Attached, Styled, Inherited value | OneWay |
SettingsItem |
core::option::Option<alloc::rc::Rc<dyn ferroui_base::ferro_property::AnyValue>> |
NavigationView | Read-only, Direct | OneWay |
Shadow |
core::option::Option<ferroui_base::type_system::Ref<ferroui_base::media::theme_shadow::Shadow>> |
Visual | Styled | OneWay |
SharedSizeGroup |
core::option::Option<alloc::string::String> |
DefinitionBase | Attached, Styled | OneWay |
ShouldUseOverlayLayer |
bool |
ToolTip | Attached, Styled | OneWay |
ShowAccessKey |
bool |
AccessKeyHandler | Attached, Styled, Inherited value | OneWay |
ShowDelay |
i32 |
ToolTip | Attached, Styled | OneWay |
ShowOnDisabled |
bool |
ToolTip | Attached, Styled, Inherited value | OneWay |
ShowSuggestions |
core::option::Option<bool> |
TextInputOptions | Attached, Styled, Inherited value | OneWay |
Shrink |
f64 |
Flex | Attached, Styled | OneWay |
SizeOfSet |
i32 |
AutomationProperties | Attached, Styled | OneWay |
Sizing |
ferroui_base::styling::container_sizing::ContainerSizing |
Container | Attached, Styled | OneWay |
SlashedZero |
bool |
Typography | Attached, Styled, Inherited value | OneWay |
Slot |
ferroui_themes_material::text_field_layout::MaterialTextFieldSlot |
MaterialTextFieldLayout | Attached, Styled | OneWay |
StandardLigatures |
bool |
Typography | Attached, Styled, Inherited value | OneWay |
StandardSwashes |
i32 |
Typography | Attached, Styled, Inherited value | OneWay |
State |
ferroui_controls::media::reveal_brush::RevealBrushState |
RevealBrush | Attached, Styled | OneWay |
StylisticAlternates |
i32 |
Typography | Attached, Styled, Inherited value | OneWay |
StylisticSet1 |
bool |
Typography | Attached, Styled, Inherited value | OneWay |
StylisticSet10 |
bool |
Typography | Attached, Styled, Inherited value | OneWay |
StylisticSet11 |
bool |
Typography | Attached, Styled, Inherited value | OneWay |
StylisticSet12 |
bool |
Typography | Attached, Styled, Inherited value | OneWay |
StylisticSet13 |
bool |
Typography | Attached, Styled, Inherited value | OneWay |
StylisticSet14 |
bool |
Typography | Attached, Styled, Inherited value | OneWay |
StylisticSet15 |
bool |
Typography | Attached, Styled, Inherited value | OneWay |
StylisticSet16 |
bool |
Typography | Attached, Styled, Inherited value | OneWay |
StylisticSet17 |
bool |
Typography | Attached, Styled, Inherited value | OneWay |
StylisticSet18 |
bool |
Typography | Attached, Styled, Inherited value | OneWay |
StylisticSet19 |
bool |
Typography | Attached, Styled, Inherited value | OneWay |
StylisticSet2 |
bool |
Typography | Attached, Styled, Inherited value | OneWay |
StylisticSet20 |
bool |
Typography | Attached, Styled, Inherited value | OneWay |
StylisticSet3 |
bool |
Typography | Attached, Styled, Inherited value | OneWay |
StylisticSet4 |
bool |
Typography | Attached, Styled, Inherited value | OneWay |
StylisticSet5 |
bool |
Typography | Attached, Styled, Inherited value | OneWay |
StylisticSet6 |
bool |
Typography | Attached, Styled, Inherited value | OneWay |
StylisticSet7 |
bool |
Typography | Attached, Styled, Inherited value | OneWay |
StylisticSet8 |
bool |
Typography | Attached, Styled, Inherited value | OneWay |
StylisticSet9 |
bool |
Typography | Attached, Styled, Inherited value | OneWay |
SystemBarColor |
core::option::Option<ferroui_base::type_system::Ref<ferroui_base::media::solid_color_brush::SolidColorBrush>> |
TopLevel | Attached, Styled, Inherited value | OneWay |
TabIndex |
i32 |
KeyboardNavigation | Attached, Styled | OneWay |
TabNavigation |
ferroui_base::input::keyboard_navigation_mode::KeyboardNavigationMode |
KeyboardNavigation | Attached, Styled | OneWay |
TabOnceActiveElement |
core::option::Option<ferroui_base::type_system::Ref<ferroui_base::input::input_element::InputElement>> |
KeyboardNavigation | Attached, Styled | OneWay |
Tag |
core::option::Option<alloc::rc::Rc<dyn ferroui_base::ferro_property::AnyValue>> |
Control | Styled | OneWay |
TakesFocusFromNativeControl |
bool |
Popup | Attached, Styled | OneWay |
Template |
core::option::Option<alloc::rc::Rc<dyn ferroui_controls::templates::i_control_template::IControlTemplate>> |
TemplatedControl | Styled | OneWay |
TemplateSettings |
ferroui_base::type_system::Ref<ferroui_controls::primitives::navigation_view_template_settings::NavigationViewTemplateSettings> |
NavigationView | Read-only, Direct | OneWay |
TemplatedParent |
core::option::Option<ferroui_base::type_system::Ref<ferroui_base::ferro_object::FerroObject>> |
StyledElement | Read-only, Direct | OneWay |
Text |
core::option::Option<alloc::string::String> |
TextSearch | Attached, Styled | OneWay |
TextAlignment |
ferroui_base::media::text_alignment::TextAlignment |
TextBlock | Attached, Styled, Inherited value | OneWay |
TextBinding |
core::option::Option<ferroui_controls::assigned_binding::AssignedBinding> |
TextSearch | Attached, Styled | OneWay |
TextLineBounds |
ferroui_base::media::text_line_bounds::TextLineBounds |
TextBlock | Attached, Styled, Inherited value | OneWay |
TextTrimming |
alloc::rc::Rc<dyn ferroui_base::media::text_trimming::TextTrimming> |
TextBlock | Attached, Styled, Inherited value | OneWay |
TextWrapping |
ferroui_base::media::text_wrapping::TextWrapping |
TextBlock | Attached, Styled, Inherited value | OneWay |
Theme |
core::option::Option<ferroui_base::type_system::Ref<ferroui_base::styling::control_theme::ControlTheme>> |
StyledElement | Styled | OneWay |
Tip |
core::option::Option<alloc::rc::Rc<dyn ferroui_base::ferro_property::AnyValue>> |
ToolTip | Attached, Styled | OneWay |
TitleBarDecorations |
ferroui_controls::chrome::title_bar_decorations::TitleBarDecorations |
WindowDrawnDecorations | Attached, Styled | OneWay |
ToolTip |
core::option::Option<ferroui_base::type_system::Ref<ferroui_controls::tool_tip::ToolTip>> |
ToolTip | Attached, Styled | OneWay |
Top |
f64 |
Canvas | Attached, Styled | OneWay |
Transitions |
core::option::Option<ferroui_base::animation::transitions_collection::Transitions> |
Animatable | Styled | OneWay |
Translation |
ferroui_base::vector3d::Vector3D |
Visual | Direct | OneWay |
Up |
core::option::Option<ferroui_base::type_system::Ref<ferroui_base::input::input_element::InputElement>> |
XYFocus | Attached, Styled | OneWay |
UpNavigationStrategy |
ferroui_base::input::navigation::xy_focus_navigation_strategy::XYFocusNavigationStrategy |
XYFocus | Attached, Styled, Inherited value | OneWay |
Uppercase |
bool |
TextInputOptions | Attached, Styled, Inherited value | OneWay |
UseLayoutRounding |
bool |
Layoutable | Styled, Inherited value | OneWay |
Variants |
ferroui_base::media::font_typography::FontVariants |
Typography | Attached, Styled, Inherited value | OneWay |
VerticalAlignment |
ferroui_base::layout::layoutable::VerticalAlignment |
Layoutable | Styled | OneWay |
VerticalContentAlignment |
ferroui_base::layout::layoutable::VerticalAlignment |
ContentControl | Styled | OneWay |
VerticalOffset |
f64 |
ToolTip | Attached, Styled | OneWay |
VerticalOrientationMargin |
ferroui_base::thickness::Thickness |
InfoBarPanel | Attached, Styled | OneWay |
VerticalScrollBarVisibility |
ferroui_controls::primitives::scroll_bar_visibility::ScrollBarVisibility |
ScrollViewer | Attached, Styled | OneWay |
VerticalSnapPointsAlignment |
ferroui_controls::primitives::snap_points_alignment::SnapPointsAlignment |
ScrollViewer | Attached, Styled | OneWay |
VerticalSnapPointsType |
ferroui_controls::primitives::snap_points_type::SnapPointsType |
ScrollViewer | Attached, Styled | OneWay |
VirtualizationInfo |
core::option::Option<alloc::rc::Rc<ferroui_controls_repeater::virtualization_info::VirtualizationInfo>> |
ItemsRepeater | Attached, Styled | OneWay |
VisualParent |
core::option::Option<ferroui_base::type_system::Ref<ferroui_base::visual::Visual>> |
Visual | Read-only, Direct | OneWay |
VisualStateGroups |
core::option::Option<ferroui_base::collections::ferro_list::FerroList<ferroui_base::type_system::Ref<ferroui_controls::visual_state::visual_state_group::VisualStateGroup>>> |
VisualStateManager | Attached, Styled | OneWay |
Width |
f64 |
Layoutable | Styled | OneWay |
XamlSourceInfo |
core::option::Option<ferroui_markup_xaml::diagnostics::xaml_source_info::XamlSourceInfo> |
XamlSourceInfo | Attached, Styled | OneWay |
ZIndex |
i32 |
Visual | Styled | OneWay |
Events
Section titled “Events”BackRequestedCollapsedContextCanceledContextRequestedDisplayModeChangedDoubleTappedExpandingGettingFocusGotFocusHoldingItemInvokedKeyDownKeyUpLosingFocusLostFocusPaneClosedPaneClosingPaneOpenedPaneOpeningPinchPinchEndedPointerCaptureChangingPointerCaptureLostPointerEnteredPointerExitedPointerMovedPointerPressedPointerReleasedPointerTouchPadGestureMagnifyPointerTouchPadGestureRotatePointerTouchPadGestureSwipePointerWheelChangedPullGesturePullGestureEndedRequestBringIntoViewRightTappedScrollGestureScrollGestureEndedScrollGestureInertiaStartingSelectionChangedSwipeGestureSwipeGestureEndedTappedTextInputTextInputMethodClientRequested
Keyboard and accessibility
Section titled “Keyboard and accessibility”Keep compact and expanded modes understandable.
Common mistakes
Section titled “Common mistakes”Selected navigation items are not automatically the application’s route.
Related guidance
Section titled “Related guidance”This reference describes the framework API. For platform-dependent controls, exercise the matching native sample before relying on browser behavior.