RibbonControl.SupportSidePanels Property
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.1.dll
NuGet Package: DevExpress.Wpf.Ribbon
Declaration
Property Value
Type | Description |
---|---|
Boolean |
|
Remarks
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