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
- element
Type: System.Windows.DependencyObject
The element in the tree to return the designer view for.
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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.Windows.Design.Interaction Namespace