DesignerView.Context Property
Gets or sets the editing context for this view.
Namespace: Microsoft.Windows.Design.Interaction
Assembly: Microsoft.Windows.Design.Interaction (in Microsoft.Windows.Design.Interaction.dll)
Syntax
'Declaration
Public Property Context As EditingContext
Get
Set
public EditingContext Context { get; set; }
public:
property EditingContext^ Context {
EditingContext^ get ();
void set (EditingContext^ value);
}
member Context : EditingContext with get, set
function get Context () : EditingContext
function set Context (value : EditingContext)
Property Value
Type: Microsoft.Windows.Design.EditingContext
The EditingContext associated with the view.
Remarks
An editing context can have only one designer view associated with it at a time. When the context is set on a designer view, the view stores itself in the context. You must clear an existing view before setting a new one into the context.
.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