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