Skip to main content
All docs
V25.1
  • 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

    public bool SupportSidePanels { get; set; }

    Property Value

    Type Description
    Boolean

    true if the RibbonControl can be integrated into the window header when side panels are in the layout; otherwise, false.

    Remarks

    The following code snippet integrates the RibbonControl into the window header when there are side panels in the layout:

    Support Side Panels in RibbonControl

    <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