Class Border
public class Border : Adornment, IDisposable, ISupportInitializeNotification, ISupportInitialize, IDesignable
- Inheritance
-
AdornmentBorder
- Implements
- Inherited Members
Remarks
Renders a border around the view with the Title. A border using LineStyle will be drawn on the sides of Thickness that are greater than zero.
The Title of Parent will be drawn based on the value of Top:
If 1
:
┌┤1234├──┐
│ │
└────────┘
If 2
:
┌────┐
┌┤1234├──┐
│ │
└────────┘
If 3
:
┌────┐
┌┤1234├──┐
│└────┘ │
│ │
└────────┘
See the Adornment class.
Constructors
- Border(View)
Constructs a new adornment for the view specified by
parent
.
Properties
- ColorScheme
The color scheme for the Border. If set to null, gets the Parent scheme. color scheme.
- DrawIndicator
Gets the subview used to render DrawIndicator.
- LineStyle
Sets the style of the border by changing the Thickness. This is a helper API for setting the Thickness to
(1,1,1,1)
and setting the line style of the views that comprise the border. If set to None no border will be drawn.
- Settings
Gets or sets the settings for the border.
Methods
- BeginInit()
Signals the View that initialization is starting. See ISupportInitialize.
- Dispose(bool)
Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
- EnterArrangeMode(ViewArrangement)
Starts "Arrange Mode" where Parent can be moved and/or resized using the mouse or keyboard. If
arrangement
is Fixed keyboard mode is enabled.
- OnDrawingContent()
Called when the View's content is to be drawn. The default implementation does nothing.
- OnMouseEvent(MouseEventArgs)
Called when a mouse event occurs within the view's Viewport.