ExpressionContext.Owner Property

 

Gets the object owning this expression.

Namespace:   System.ComponentModel.Design.Serialization
Assembly:  System.Design (in System.Design.dll)

public object Owner { get; }

Property Value

Type: System.Object

The object owning this expression.

If the expression is a property reference to the Text property of an instance of Button called button1, Owner returns button1.

.NET Framework
Available since 2.0
Return to top
Show: