WebControlAdapter.Control Property
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Gets a reference to the Web control to which this control adapter is attached.
protected:
property System::Web::UI::WebControls::WebControl ^ Control { System::Web::UI::WebControls::WebControl ^ get(); };
protected System.Web.UI.WebControls.WebControl Control { get; }
member this.Control : System.Web.UI.WebControls.WebControl
Protected ReadOnly Property Control As WebControl
The WebControl to which this WebControlAdapter is attached.
When a WebControlAdapter object is attached to a WebControl object, the .NET Framework calls on the adapter life-cycle methods instead of the control methods. For more information, see ControlAdapter.
When you inherit from the WebControlAdapter class, at a minimum, you should implement a Control
property to return a strongly-typed instance of the control.
製品 | バージョン |
---|---|
.NET Framework | 2.0, 3.0, 3.5, 4.0, 4.5, 4.5.1, 4.5.2, 4.6, 4.6.1, 4.6.2, 4.7, 4.7.1, 4.7.2, 4.8, 4.8.1 |
.NET に関するフィードバック
.NET はオープンソース プロジェクトです。 フィードバックを提供するにはリンクを選択します。