Click or drag to resize

VisualCompositionExportAttribute Class

Attribute to apply to view models to support visual composition.
Inheritance Hierarchy
SystemObject
  SystemAttribute
    System.ComponentModel.CompositionExportAttribute
      TomsToolbox.Wpf.Composition.MefVisualCompositionExportAttribute

Namespace: TomsToolbox.Wpf.Composition.Mef
Assembly: TomsToolbox.Wpf.Composition.Mef (in TomsToolbox.Wpf.Composition.Mef.dll) Version: 2.21.0+44d18b541fc9419ec3c549350a832394661b2a4d
XMLNS for XAML: Not mapped to an xmlns.
Syntax
[MetadataAttributeAttribute]
[AttributeUsageAttribute(AttributeTargets.Class)]
public sealed class VisualCompositionExportAttribute : ExportAttribute, 
	IVisualCompositionMetadata

The VisualCompositionExportAttribute type exposes the following members.

Constructors
 NameDescription
Public methodVisualCompositionExportAttribute Initializes a new instance of the VisualCompositionExportAttribute class.
Top
Properties
 NameDescription
Public propertyRole Gets the role of the view model for visual composition.
Public propertySequence Gets a sequence to support ordering of view model collections.
Public propertyTargetRegions Gets the target regions for visual composition.
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