Class Margin
public class Margin : Adornment, IDisposable, ISupportInitializeNotification, ISupportInitialize, IDesignable
- Inheritance
-
AdornmentMargin
- Implements
- Inherited Members
Remarks
The Margin is transparent by default. This can be overriden by explicitly setting ColorScheme.
Margins are drawn after all other Views in the application View hierarchy are drawn.
See the Adornment class.
Constructors
- Margin(View)
Constructs a new adornment for the view specified by
parent
.
Properties
- ColorScheme
The color scheme for the Margin. If set to null (the default), the margin will be transparent.
- ShadowStyle
Gets or sets whether the View is shown with a shadow effect. The shadow is drawn on the right and bottom sides of the Margin.
Methods
- BeginInit()
Signals the View that initialization is starting. See ISupportInitialize.
- OnClearingViewport()
Called when the Thickness of the Adornment is to be cleared.
- SetShadow(ShadowStyle)
Sets whether the Margin includes a shadow effect. The shadow is drawn on the right and bottom sides of the Margin.