EditorOutliningMargin Class
Represents a default implementation of an outlining margin for an IEditorView.
public class EditorOutliningMargin : EditorViewMarginBase, IEditorViewMargin, ITextViewMargin, IOrderable, IKeyedObject
- Inheritance:
- object Visual UIElement FrameworkElement Control EditorViewMarginBase object
- Implements:
- IEditorViewMargin ITextViewMargin IOrderable IKeyedObject
Constructors
EditorOutliningMargin(IEditorView)
Initializes an instance of the class.
public EditorOutliningMargin(IEditorView view)
| Parameter | Type | Description |
|---|---|---|
| view | IEditorView | The IEditorView that will host the margin. |
Methods
Draw(TextViewDrawContext)
Draws the margin and its content.
public override void Draw(TextViewDrawContext context)
| Parameter | Type | Description |
|---|---|---|
| context | TextViewDrawContext | The TextViewDrawContext to use for rendering. |
OnCreateAutomationPeer()
Returns class-specific AutomationPeer implementations for the Windows Presentation Foundation (WPF) infrastructure.
protected override AutomationPeer OnCreateAutomationPeer()
Returns
- AutomationPeer:
The type-specific AutomationPeer implementation.
UpdateVisibility()
Updates the visibility of the margin.
public override void UpdateVisibility()
Inherited Members
- EditorViewMarginBase.Key
- EditorViewMarginBase.Orderings
- EditorViewMarginBase.Placement
- EditorViewMarginBase.View
- EditorViewMarginBase.VisualElement