[]
Sets the context menu for a control.
public static void SetContextMenu(DependencyObject element, IC1ContextMenu value)
Public Shared Sub SetContextMenu(element As DependencyObject, value As IC1ContextMenu)
| Type | Name | Description |
|---|---|---|
| DependencyObject | element | The Control to which the context menu is attached. |
| IC1ContextMenu | value | The context menu to set. |