Skip to main content

DevExpress v24.2 Update — Your Feedback Matters

Our What's New in v24.2 webpage includes product-specific surveys. Your response to our survey questions will help us measure product satisfaction for features released in this major update and help us refine our plans for our next major release.

Take the survey Not interested

ResourceTreeControl.RowContextMenuActions Property

Provides access to the collection of actions used to customize the row context menu.

Namespace: DevExpress.Xpf.Scheduling

Assembly: DevExpress.Xpf.Scheduling.v24.2.dll

NuGet Package: DevExpress.Wpf.Scheduling

#Declaration

public ObservableCollection<IControllerAction> RowContextMenuActions { get; }

#Property Value

Type Description
ObservableCollection<IControllerAction>

A collection of context menu customization actions.

#Remarks

The code sample below demonstrates how to add a new menu item to the row context menu.

             <dxsch:ResourceTreeControl.RowContextMenuActions>
                <dxb:InsertAction>
                    <dxb:InsertAction.Element>
                        <dxb:BarButtonItem Content="Custom Menu Item" Command="{Binding NewCommand}"/>
                    </dxb:InsertAction.Element>
                </dxb:InsertAction>
            </dxsch:ResourceTreeControl.RowContextMenuActions>
See Also