Click or drag to resize

CompositeContextMenuExtension Class

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

Namespace:  TomsToolbox.Wpf.Controls
Assembly:  TomsToolbox.Wpf (in TomsToolbox.Wpf.dll) Version: 1.0.70.0
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.

[CanBeNull]

Public propertyRegionId
Gets or sets the region identifier.

[CanBeNull]

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.

[NotNull]

(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.

[CanBeNull]

(Defined by ObjectExtensions.)
Top
See Also