Click or drag to resize

CompositeContextMenuExtension Class

A markup extension to create a CompositeContextMenu in XAML.
Inheritance Hierarchy
SystemObject
  System.Windows.MarkupMarkupExtension
    TomsToolbox.Wpf.CompositionCompositeContextMenuExtension

Namespace: TomsToolbox.Wpf.Composition
Assembly: TomsToolbox.Wpf.Composition (in TomsToolbox.Wpf.Composition.dll) Version: 2.21.0+44d18b541fc9419ec3c549350a832394661b2a4d
XMLNS for XAML: Not mapped to an xmlns.
Syntax
[MarkupExtensionReturnTypeAttribute(typeof(ContextMenu))]
public class CompositeContextMenuExtension : MarkupExtension

The CompositeContextMenuExtension type exposes the following members.

Constructors
 NameDescription
Public methodCompositeContextMenuExtension Initializes a new instance of the CompositeContextMenuExtension class.
Public methodCompositeContextMenuExtension(String) Initializes a new instance of the CompositeContextMenuExtension class.
Top
Properties
 NameDescription
Public propertyCompositionContextBinding Gets or sets a binding to seed the CompositionContext.
Public propertyRegionId Gets or sets the region identifier.
Top
Methods
 NameDescription
Public methodProvideValue When implemented in a derived class, returns an object that is provided as the value of the target property for this markup extension.
(Overrides MarkupExtensionProvideValue(IServiceProvider))
Top
Extension Methods
 NameDescription
Public Extension MethodSafeCastT Performs a cast from object to T, avoiding possible null violations if T is a value type.
(Defined by ObjectExtensions)
Top
See Also