Click or drag to resize

VisualCompositionExportAttribute Class

Attribute to apply to view models to support visual composition.
Inheritance Hierarchy

Namespace:  TomsToolbox.Wpf.Composition
Assembly:  TomsToolbox.Wpf (in TomsToolbox.Wpf.dll) Version: 1.0.64.0 (1.0.64.0)
Syntax
[MetadataAttributeAttribute]
[CLSCompliantAttribute(false)]
[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
Fields
  NameDescription
Public fieldStatic memberExportContractName
The contract name for visual composition exports.
Top
Extension Methods
Contracts
Invariants
_targetRegions != null
Learn more about contracts
See Also