Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Returns the designer view stored in the specified context.
Namespace: Microsoft.Windows.Design.Interaction
Assembly: Microsoft.Windows.Design.Interaction (in Microsoft.Windows.Design.Interaction.dll)
Syntax
'Declaration
Public Shared Function FromContext ( _
context As EditingContext _
) As DesignerView
public static DesignerView FromContext(
EditingContext context
)
public:
static DesignerView^ FromContext(
EditingContext^ context
)
static member FromContext :
context:EditingContext -> DesignerView
public static function FromContext(
context : EditingContext
) : DesignerView
Parameters
- context
Type: Microsoft.Windows.Design.EditingContext
The editing context to retrieve the designer view from.
Return Value
Type: Microsoft.Windows.Design.Interaction.DesignerView
A DesignerView stored in context, or nulla null reference (Nothing in Visual Basic) if a view does not exist.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | context is nulla null reference (Nothing in Visual Basic). |
.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