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.69.0
Syntax
[CLSCompliantAttribute(false)]
[AttributeUsageAttribute(AttributeTargets.Class)]
[MetadataAttributeAttribute]
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.

[NotNull]

Top
Fields
  NameDescription
Public fieldStatic memberExportContractName
The contract name for visual composition exports.
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