EditorViewHost Class
Represents an element that can lay out editor views within a SyntaxEditor.
public class EditorViewHost : Panel
- Inheritance:
- object Visual UIElement FrameworkElement Panel object
Constructors
EditorViewHost()
Initializes an instance of the EditorViewHost
class.
public EditorViewHost()
Methods
ArrangeOverride(Size)
Positions child elements and returns the element's size.
protected override Size ArrangeOverride(Size finalSize)
Parameter | Type | Description |
---|---|---|
finalSize | Size | The size within the parent that this element should use to arrange itself and its children. |
Returns
- Size:
The actual size used.
MeasureOverride(Size)
Measures the size required for the element and its child elements.
protected override Size MeasureOverride(Size availableSize)
Parameter | Type | Description |
---|---|---|
availableSize | Size | The available size. |
Returns
- Size:
The desired size.