<TextBox Name="textBox1">
<!--
Example of using the Infragistics Commanding Framework to open the context menu:
-->
<!--
<igWPF:Commanding.Command>
<ig:XamContextMenuCommandSource
CommandType="Open"
EventName="SelectionChanged"
TargetName="contextMenu1" />
</igWPF:Commanding.Command>
-->
<ig:ContextMenuService.Manager>
<!--If you use the Infragistics Commanding Framework, you should set the OpenMode property to None-->
<ig:ContextMenuManager ModifierKeys="Control, Shift" OpenMode="LeftClick">
<ig:ContextMenuManager.ContextMenu>
<ig:XamContextMenu Name="contextMenu1">
<ig:XamMenuItem Header="Font" />
<ig:XamMenuItem Header="Formatting" />
</ig:XamContextMenu>
</ig:ContextMenuManager.ContextMenu>
</ig:ContextMenuManager>
</ig:ContextMenuService.Manager>
</TextBox>