EditorOutliningMargin Class
Represents a default implementation of an outlining margin for an IEditorView.
public class EditorOutliningMargin : EditorViewMarginBase, DUCE.IResource, IAnimatable, IFrameworkInputElement, IInputElement, ISupportInitialize, IHaveResources, IQueryAmbient, IEditorViewMargin, ITextViewMargin, IOrderable, IKeyedObject
- Inheritance:
- System.Object System.Windows.Threading.DispatcherObject System.Windows.DependencyObject System.Windows.Media.Visual System.Windows.UIElement System.Windows.FrameworkElement System.Windows.Controls.Control EditorViewMarginBase Object
- Implements:
- IEditorViewMargin ITextViewMargin IOrderable IKeyedObject
Constructors
EditorOutliningMargin(IEditorView)
Initializes an instance of the EditorOutliningMargin
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 an System.Windows.Automation.Peers.AutomationPeer object for this control instance.
protected override AutomationPeer OnCreateAutomationPeer()
Returns
- System.Windows.Automation.Peers.AutomationPeer:
An System.Windows.Automation.Peers.AutomationPeer instance.
UpdateVisibility()
Updates the visibility of the margin.
public override void UpdateVisibility()
Inherited Members
- EditorViewMarginBase.IEditorViewMargin.get_Visibility()
- EditorViewMarginBase.Key
- EditorViewMarginBase.Orderings
- EditorViewMarginBase.Placement
- EditorViewMarginBase.View
- EditorViewMarginBase.VisualElement
- System.Object.ToString()
- System.Object.Equals(System.Object)
- System.Object.Equals(System.Object, System.Object)
- System.Object.ReferenceEquals(System.Object, System.Object)
- System.Object.GetHashCode()
- System.Object.GetType()
- System.Object.MemberwiseClone()
Extension Methods
- FrameworkElementExtensions.AnimateDoubleProperty(String, Double, Double, Double, Nullable<Double>, Nullable<Double>)
- FrameworkElementExtensions.BindToProperty(DependencyProperty, Object, String, BindingMode, IValueConverter, Object)
- FrameworkElementExtensions.BindToProperty(DependencyProperty, Object, DependencyProperty, BindingMode, IValueConverter, Object)
- FrameworkElementExtensions.GetCurrentSize()