wpf-devexpress-dot-xpf-dot-ribbon-dot-ribboncontrol-4c2011d3.md
Gets or sets whether the RibbonControl can be integrated into the window header when there are side panels in the layout. This is a dependency property.
Namespace : DevExpress.Xpf.Ribbon
Assembly : DevExpress.Xpf.Ribbon.v25.2.dll
NuGet Package : DevExpress.Wpf.Ribbon
public bool SupportSidePanels { get; set; }
Public Property SupportSidePanels As Boolean
| Type | Description |
|---|---|
| Boolean |
true if the RibbonControl can be integrated into the window header when side panels are in the layout; otherwise, false.
|
The following code snippet integrates the RibbonControl into the window header when there are side panels in the layout:
<Grid>
<Grid.ColumnDefinitions>
<ColumnDefinition Width="Auto" />
<ColumnDefinition Width="*" />
<ColumnDefinition Width="Auto" />
</Grid.ColumnDefinitions>
<Grid.RowDefinitions>
<RowDefinition Height="Auto" />
<RowDefinition Height="*" />
</Grid.RowDefinitions>
<Border Grid.Column="0" Grid.RowSpan="2" Width="50" Background="AliceBlue">
<TextBlock Text="Left" ... />
</Border>
<dxr:RibbonControl Grid.Column="1"
SupportSidePanels="True">
</dxr:RibbonControl>
<Border Grid.Column="2" Grid.RowSpan="2" Width="50" Background="AliceBlue">
<TextBlock Text="Right" ... />
</Border>
</Grid>
See Also