UI libraries
The Petrel UI libraries document approved component patterns for the WPF and WinForms interface. Each page covers purpose, usage, anatomy, states, and accessibility requirements. The UI library defines how standard and Petrel-specific interface components are structured, when to use them, and how they behave. It does not replace WPF control documentation — it extends it with Petrel-specific patterns, constraints, and visual specifications.
How to find components
Browse the component pages in the left sidebar, or use Search (Ctrl+K) to find a component by name, purpose, or synonym (for example, search "modal" to find the Dialogs page).
Component pages
Basic components
Text, labels, images, separators, and layout primitives.
→ PrimitivesForm controls
Text input, dropdowns, checkboxes, radio buttons, and date pickers.
→ FormsDialogs
Modal dialogs, property sheets, confirmations, and error alerts.
→ ModalsButtons
Primary, secondary, icon, and split button patterns and states.
→ ActionsCards
Content containers, item cards, and selection cards.
→ ContainersTables
Data tables, sortable columns, row selection, and inline editing.
→ Data gridsRibbon
Petrel Ribbon tabs, groups, commands, and contextual tabs.
→ CommandsNavigation and menus
Context menus, toolbars, breadcrumbs, and tab navigation.
→ NavigationNotifications and feedback
Alerts, progress indicators, status bars, and toast messages.
→ Feedback