Inhaltsverzeichnis

API: Navigation Controls

API Reference for navigation and wizard controls.

TWvdSTabControl

Tab-based navigation.

Namespace

WvdS.UI.Controls.Navigation

PXAML

<TabControl SelectedIndex="{Binding ActiveTab}">
  <TabItem Header="General">
    <GeneralSettings />
  </TabItem>
  <TabItem Header="Advanced">
    <AdvancedSettings />
  </TabItem>
</TabControl>

Properties

Property Type Default Description
Items TWvdSTabItemCollection nil Tab items
SelectedIndex Integer 0 Active tab index
SelectedItem TWvdSTabItem nil Active tab item
TabStripPlacement TWvdSPlacement pTop Top, Bottom, Left, Right
IsClosable Boolean False Tabs closable

Events

Event Signature Description
OnSelectionChanged TSelectionChangedEvent Tab changed
OnTabClosing TTabClosingEvent Tab is closing

TWvdSTabItem

TWvdSTabItem = class(TWvdSContentControl)
  property Header: string;
  property Content: TWvdSFrameworkElement;
  property IsEnabled: Boolean;
  property Icon: TWvdSImageSource;
end;

TWvdSAccordion

Collapsible panels.

Namespace

WvdS.UI.Controls.Navigation

PXAML

<Accordion ExpandMode="Single">
  <AccordionItem Header="Section 1" IsExpanded="True">
    <ContentPanel1 />
  </AccordionItem>
  <AccordionItem Header="Section 2">
    <ContentPanel2 />
  </AccordionItem>
</Accordion>

Properties

Property Type Default Description
Items TWvdSAccordionItemCollection nil Accordion items
ExpandMode TWvdSExpandMode emSingle Single, Multiple
SelectedItem TWvdSAccordionItem nil Active item

TWvdSAccordionItem

Property Type Description
Header string Header text
Content TWvdSFrameworkElement Content
IsExpanded Boolean Expanded
Icon TWvdSImageSource Icon

TWvdSBreadcrumb

Breadcrumb navigation.

Namespace

WvdS.UI.Controls.Navigation

PXAML

<Breadcrumb Path="{Binding CurrentPath}"
            Separator=">"
            OnPathChanged="OnNavigate" />

Properties

Property Type Default Description
Path string

PXAML

<TileControl>
  <TileGroup Header="Applications">
    <Tile Caption="Mail" Icon="mail" Size="Large"
          Background="Blue" Command="{Binding OpenMail}" />
    <Tile Caption="Calendar" Icon="calendar" Size="Normal" />
    <Tile Caption="Tasks" Icon="check" Size="Small" />
  </TileGroup>
</TileControl>

Properties

Property Type Default Description
Groups TWvdSTileGroupCollection nil Tile groups
ItemSize TWvdSTileSize tsNormal Default size
Orientation TWvdSOrientation oHorizontal Arrangement

TWvdSTile

Property Type Description
Caption string Title
Icon TWvdSImageSource Icon
Size TWvdSTileSize Small, Normal, Wide, Large
Background TWvdSBrush Background
Command IWvdSCommand Click command
Badge string Badge text

See Also