Skip to content

ContextMenuMarkupExtensions.SystemBackdrop method

Sets the material behind the menu; submenus opened from it follow. A menu in its own window gets the platform’s material, and a menu drawn inside its owner’s surface the same look from what that surface holds. Where neither can be shown, BackdropFallbackBrush is drawn under the background.

public static ContextMenu SystemBackdrop(this ContextMenu target, SystemBackdrop value)
parameter description
target Target ContextMenu.
value Value assigned to SystemBackdrop.

The same element for chaining.

Sets: ContextMenu.SystemBackdrop