IWpfTextViewHost.HostControl Property
Gets the WPF control for this IWpfTextViewHost.
Namespace: Microsoft.VisualStudio.Text.Editor
Assembly: Microsoft.VisualStudio.Text.UI.Wpf (in Microsoft.VisualStudio.Text.UI.Wpf.dll)
Syntax
'Declaration
ReadOnly Property HostControl As Control
Control HostControl { get; }
property Control^ HostControl {
Control^ get ();
}
abstract HostControl : Control
function get HostControl () : Control
Property Value
Type: System.Windows.Controls.Control
The WPF control for this IWpfTextViewHost.
Remarks
Use this property to display the IWpfTextViewHost WPF control.
.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.