Skip to main content

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.1.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