Click or drag to resize

VisualCompositionExportAttribute Class

Attribute to apply to view models to support visual composition.
Inheritance Hierarchy
SystemObject
  SystemAttribute
    ExportAttribute
      TomsToolbox.Wpf.Composition.AttributedModelVisualCompositionExportAttribute

Namespace: TomsToolbox.Wpf.Composition.AttributedModel
Assembly: TomsToolbox.Wpf.Composition.AttributedModel (in TomsToolbox.Wpf.Composition.AttributedModel.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