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

Declaration

public ObservableCollection<IControllerAction> RowContextMenuActions { get; }
Public ReadOnly Property RowContextMenuActions As ObservableCollection(Of IControllerAction)

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