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
- 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.