IMargin Interface
Definition
Represents properties and methods specifying appearance of the margin in Edit control.
Syntax
public interface IMargin : IUpdate, IDisposable
Properties
AllowDrag | When implemented by a class, indicates whether drag operation can performed to |
ColumnPen | When implemented by a class, gets or sets Pen object that describes the color and pattern of column margin lines. |
ColumnPenColor | When implemented by a class, gets or sets a color of the column margin line. |
ColumnPositions | When implemented by a class, gets or sets the character columns where additional column margin will be drawn. |
ColumnsVisible | When implemented by a class, gets or sets a value indicating whether column margins should be painted. |
IsDragging | When implemented by a class, indicates whether |
Pen | When implemented by a class, gets or sets Pen object that describes the color and pattern of |
PenColor | When implemented by a class, gets or sets a color of the margin line. |
Position | When implemented by a class, gets or sets value indicating position, in characters, of the vertical line within the text portion of the control. |
ShowHints | When implemented by a class, gets or sets a value indicating whether |
Visible | When implemented by a class, gets or sets a value indicating whether vertical line should be painted. |
Methods
Assign(IMargin) | When implemented by a class, copies the contents from another |
CancelDragging() | When implemented by a class, cancels dragging the margin. |
Contains(Int32, Int32) | When implemented by a class, indicates whether |
DragTo(Int32, Int32) | When implemented by a class, moves |
Paint(IPainter, Rectangle) | When implemented by a class, draws |
PaintColumn(IPainter, Rectangle) | Draws margin column on the specified graphic surface. |
ResetAllowDrag() | When implemented by a class, resets the |
ResetColumnPositions() | When implemented by a class, resets the |
ResetColumnsPenColor() | When implemented by a class, resets the |
ResetColumnsVisible() | When implemented by a class, resets the |
ResetPenColor() | When implemented by a class, resets the |
ResetPosition() | When implemented by a class, resets the |
ResetShowHints() | When implemented by a class, resets the |
ResetVisible() | When implemented by a class, resets the |