Dela via


ViewManagerAttribute Class

This API supports the .NET Framework infrastructure and is not intended to be used directly from your code.

An attribute that can be added on the root of a model object graph to specify what view manager should be used to present the view.

Namespace:  Microsoft.Windows.Design.Documents
Assembly:  Microsoft.Windows.Design.Markup (in Microsoft.Windows.Design.Markup.dll)

Syntax

'Declaration
<AttributeUsageAttribute(AttributeTargets.Class, Inherited := True, AllowMultiple := False)> _
Public NotInheritable Class ViewManagerAttribute _
    Inherits Attribute
'Usage
Dim instance As ViewManagerAttribute
[AttributeUsageAttribute(AttributeTargets.Class, Inherited = true, AllowMultiple = false)]
public sealed class ViewManagerAttribute : Attribute
[AttributeUsageAttribute(AttributeTargets::Class, Inherited = true, AllowMultiple = false)]
public ref class ViewManagerAttribute sealed : public Attribute
public final class ViewManagerAttribute extends Attribute

Inheritance Hierarchy

System.Object
  System.Attribute
    Microsoft.Windows.Design.Documents.ViewManagerAttribute

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

ViewManagerAttribute Members

Microsoft.Windows.Design.Documents Namespace

Other Resources

WPF Designer Extensibility