<Page
…
xmlns:ig="http://schemas.infragistics.com/xaml"
xmlns:igPrim="http://schemas.infragistics.com/xaml/primitives">
<ig:XamSpreadsheet>
<ig:XamSpreadsheet.ContextMenuProvider>
<ig:SpreadsheetContextMenuProvider>
<ig:SpreadsheetContextMenuProvider.ResourceOverrides>
<ResourceDictionary>
<ig:XamContextMenu x:Key="Cell">
<ig:XamContextMenu.DataContext>
<igPrim:SpreadsheetMenuDataContext />
</ig:XamContextMenu.DataContext>
<ig:XamMenuItem Header="Bold">
<ig:XamMenuItem.Icon>
<Image Source="/Assembly;component/Folder/Bold.png" />
</ig:XamMenuItem.Icon>
<ig:Commanding.Command>
<igPrim:SpreadsheetCommandSource
CommandType="ToggleBold" EventName="Click" />
</ig:Commanding.Command>
</ig:XamMenuItem>
<ig:XamMenuItem Header="Italic">
<ig:XamMenuItem.Icon>
<Image Source="/Assembly;component/Folder/Italic.png" />
</ig:XamMenuItem.Icon>
<ig:Commanding.Command>
<igPrim:SpreadsheetCommandSource
CommandType="ToggleItalic" EventName="Click" />
</ig:Commanding.Command>
</ig:XamMenuItem>
<ig:XamMenuSeparator />
<ig:XamMenuItem Header="Navigate Up">
<ig:Commanding.Command>
<igPrim:SpreadsheetCommandSource
CommandType="CellAbove" EventName="Click" />
</ig:Commanding.Command>
</ig:XamMenuItem>
<ig:XamMenuItem Header="Navigate Down">
<ig:Commanding.Command>
<igPrim:SpreadsheetCommandSource
CommandType="CellBelow" EventName="Click" />
</ig:Commanding.Command>
</ig:XamMenuItem>
<ig:XamMenuItem Header="Navigate Left">
<ig:Commanding.Command>
<igPrim:SpreadsheetCommandSource
CommandType="CellLeft" EventName="Click" />
</ig:Commanding.Command>
</ig:XamMenuItem>
<ig:XamMenuItem Header="Navigate Right">
<ig:Commanding.Command>
<igPrim:SpreadsheetCommandSource
CommandType="CellRight" EventName="Click" />
</ig:Commanding.Command>
</ig:XamMenuItem>
</ig:XamContextMenu>
</ResourceDictionary>
</ig:SpreadsheetContextMenuProvider.ResourceOverrides>
</ig:SpreadsheetContextMenuProvider>
</ig:XamSpreadsheet.ContextMenuProvider>
</ig:XamSpreadsheet>