Partager via


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

'Déclaration
ReadOnly Property VisualElement As FrameworkElement
FrameworkElement VisualElement { get; }
property FrameworkElement^ VisualElement {
    FrameworkElement^ get ();
}
abstract VisualElement : FrameworkElement
function get VisualElement () : FrameworkElement

Property Value

Type: System.Windows.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