Share via


DesignerView.GetDesignerView Method

Gets the value of the DesignerView attached property for the specified element.

Namespace:  Microsoft.Windows.Design.Interaction
Assembly:  Microsoft.Windows.Design.Interaction (in Microsoft.Windows.Design.Interaction.dll)

Syntax

'Declaration
Public Shared Function GetDesignerView ( _
    element As DependencyObject _
) As DesignerView
public static DesignerView GetDesignerView(
    DependencyObject element
)
public:
static DesignerView^ GetDesignerView(
    DependencyObject^ element
)
static member GetDesignerView : 
        element:DependencyObject -> DesignerView 
public static function GetDesignerView(
    element : DependencyObject
) : DesignerView

Parameters

Return Value

Type: Microsoft.Windows.Design.Interaction.DesignerView
The DesignerView attached property for element.

Remarks

This property is set on the DesignerView instance during construction. Any elements in the logical tree inherit this value.

.NET Framework Security

See Also

Reference

DesignerView Class

Microsoft.Windows.Design.Interaction Namespace

AdornerPanel

Other Resources

Walkthrough: Creating a Design-time Adorner

Adorner Architecture