

'Declaration<LocalizabilityAttribute(LocalizationCategory.Ignore)> <ContentPropertyAttribute("Children")> <StyleTypedPropertyAttribute(Property="FocusVisualStyle", StyleTargetType=System.Windows.Controls.Control)> <XmlLangPropertyAttribute("Language")> <UsableDuringInitializationAttribute(True)> <RuntimeNamePropertyAttribute("Name")> <UidPropertyAttribute("Uid")> <TypeDescriptionProviderAttribute(MS.Internal.ComponentModel.DependencyObjectProvider)> <NameScopePropertyAttribute("NameScope", System.Windows.NameScope)> Public NotInheritable Class MultiViewPanel Inherits PanelBase
'UsageDim instance As MultiViewPanel
[Localizability(LocalizationCategory.Ignore)] [ContentProperty("Children")] [StyleTypedProperty(Property="FocusVisualStyle", StyleTargetType=System.Windows.Controls.Control)] [XmlLangProperty("Language")] [UsableDuringInitialization(true)] [RuntimeNameProperty("Name")] [UidProperty("Uid")] [TypeDescriptionProvider(MS.Internal.ComponentModel.DependencyObjectProvider)] [NameScopeProperty("NameScope", System.Windows.NameScope)] public sealed class MultiViewPanel : PanelBase
Changing the active view makes the panel animate its containers to their new layout and configurations automatically.
Can only be used in Xceed's ItemsPanelTemplate.
The following code snippet shows how to set up a MultiViewPanel containing a PathView and a two StackViews.
For a complete example, see the code of the MultiView sample in the product's Live Explorer.
<sllb:ListBox.ItemsPanel> <sllb:ItemsPanelTemplate> <sllb:MultiViewPanel> <sllb:MultiViewPanel.Views> <sllb:StackView Orientation="Vertical" ListBoxItemConfiguration="{StaticResource OrderItemConfigurationForVerticalStackView}" IsActiveView="True" /> <sllb:StackView Orientation="Horizontal" ListBoxItemConfiguration="{StaticResource OrderItemConfigurationForHorizontalStackView}" /> <sllb:PathView ListBoxItemConfiguration="{StaticResource OrderItemConfigurationForPathView}" ListBoxGroupHeaderConfiguration="{StaticResource pathViewCategoryGroupHeader}"> <sllb:PathView.PathConfiguration> <sllb:PathConfiguration PathGeometry="{Binding Source={StaticResource SShapePath}, Converter={StaticResource stringToPathGeometryConverter}}" PathPadding="50,100,50,100" ContainerPadding="-100"> <sllb:PathConfiguration.ScalingStops> <sllb:ScalingStop Offset="0" ScalingFactor="0.15" /> <sllb:ScalingStop Offset="0.5" ScalingFactor="1.2" /> <sllb:ScalingStop Offset="1" ScalingFactor="0.15" /> </sllb:PathConfiguration.ScalingStops> <sllb:PathConfiguration.ZIndexStops> <sllb:ZIndexStop Offset="0" ZIndexFactor="0" /> <sllb:ZIndexStop Offset="0.5" ZIndexFactor="1" /> <sllb:ZIndexStop Offset="1" ZIndexFactor="0" /> </sllb:PathConfiguration.ZIndexStops> </sllb:PathConfiguration> </sllb:PathView.PathConfiguration> </sllb:PathView> </sllb:MultiViewPanel.Views> </sllb:MultiViewPanel> </sllb:ItemsPanelTemplate> </sllb:ListBox.ItemsPanel>
System.Object
System.Windows.Threading.DispatcherObject
System.Windows.DependencyObject
System.Windows.Media.Visual
System.Windows.UIElement
System.Windows.FrameworkElement
System.Windows.Controls.Panel
Xceed.Wpf.ListBox.PanelBase
Xceed.Wpf.ListBox.MultiViewPanel
| Name | Description | |
|---|---|---|
![]() | MultiViewPanel Constructor | Initializes a new instance of the MultiViewPanel class. |
| Name | Description | |
|---|---|---|
![]() ![]() | ActiveViewProperty | Identifies the ActiveView attached property. |
![]() ![]() | PanelViewsProperty | Identifies the PanelViews attached property. |
| Name | Description | |
|---|---|---|
![]() | FindLogicalAncestor<T> | Finds the logical ancenster |
![]() | FindLogicalAncestorsAndSelf | |
![]() | FindLogicalChildren<T> | Find the logical children. |
![]() | FindVisualAncestor<T> | Finds the visual ancestor. |
![]() | FindVisualChildren<T> | Finds the visual children. |
![]() | FindVisualTreeRoot | Finds the visual tree root. |
![]() | ShowDialog | Overloaded. |
.NET: net5.0, net5.0-windows, net6.0, net6.0-macos, net6.0-windows, net7.0, net7.0-macos, net7.0-windows, net8.0, net8.0-browser, net8.0-macos, net8.0-windows, net9.0, net9.0-browser, net9.0-macos, net9.0-windows, net10.0, net10.0-browser, net10.0-macos, net10.0-windows.
.NET Framework: net40, net403, net45, net451, net452, net46, net461, net462, net463, net47, net471, net472, net48, net481.