[]
Basic control used to draw a border around another view.
public class C1Border : C1View, IDependencyObject
Public Class C1Border
Inherits C1View
Implements IDependencyObject
| Name | Description |
|---|---|
| C1Border(Context) | Initializes a new instance of the C1Border class. |
| C1Border(Context, IAttributeSet) | Initializes a new instance of the C1Border class. |
| C1Border(Context, IAttributeSet, int) | Initializes a new instance of the C1Border class. |
| C1Border(nint, JniHandleOwnership) |
| Name | Description |
|---|---|
| BorderAlignmentProperty | Identifies the BorderAlignment dependency property. |
| _borderAlignment | Gets or sets the way to draw the borders. |
| Name | Description |
|---|---|
| BorderAlignment | Gets or sets the way to draw the borders. |
| Content | Gets or sets the content to show inside the border. |
| ContentPadding | Gets the actual padding of the content |
| NeedsRenderContent | Gets whether the OnRenderContent(Canvas, C1Rect) method needs to be executed and the clipping of the content. |
| Name | Description |
|---|---|
| Dispose(bool) | |
| Draw(Canvas) | |
| GetContentMeasureSize(C1Size, bool, bool) | Gets the measure of the content of the border. |
| GetInsideMeasureSize(C1Size, bool, bool) | Gets the measure of the content of the border, including paddings. |
| LayoutContent(C1Rect) | Layout the content of the border in the specified |
| LayoutInside(C1Rect) | Layout the part inside the border in the specified |
| OnAttachedToWindow() | |
| OnBackgroundChanged() | Called when the background changed. |
| OnBorderAlignmentChanged() | Called when the border alignment changed. |
| OnBorderBrushChanged() | Called when the border brush changed. |
| OnBorderThicknessChanged() | Called when the border thickness changed. |
| OnContentPaddingChanged() | Called when the ContentPadding property changed. |
| OnCornerRadiusChanged() | Called when the corner-radius changed. |
| OnDetachedFromWindow() | |
| OnLayout(bool, int, int, int, int) | |
| OnMeasure(int, int) | |
| OnPaddingChanged() | Called when the padding changed. |
| OnRenderBackground(Canvas, C1Rect) | Draw the background of the control in the specified |
| OnRenderContent(Canvas, C1Rect) | Draw the content of the control in the specified |