ResourceTreeControl.RowContextMenuActions Property
In This Article
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 |
---|---|
Observable |
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