Freigeben über


IWpfTextViewMargin.VisualElement Property

Gets the FrameworkElement that renders the margin.

Namespace:  Microsoft.VisualStudio.Text.Editor
Assembly:  Microsoft.VisualStudio.Text.UI.Wpf (in Microsoft.VisualStudio.Text.UI.Wpf.dll)

Syntax

'Declaration
ReadOnly Property VisualElement As FrameworkElement
FrameworkElement VisualElement { get; }
property FrameworkElement^ VisualElement {
    FrameworkElement^ get ();
}
abstract VisualElement : FrameworkElement with get
function get VisualElement () : FrameworkElement

Property Value

Type: FrameworkElement
The FrameworkElement that renders the margin.

Exceptions

Exception Condition
ObjectDisposedException

if the margin is disposed.

.NET Framework Security

See Also

Reference

IWpfTextViewMargin Interface

Microsoft.VisualStudio.Text.Editor Namespace