Skip to main content

Border Class

Namespace: GHIElectronics.TinyCLR.UI.Controls · Assembly: GHIElectronics.TinyCLR.UI

No description available.

public class Border : ContentControl

Constructors

Border()

public Border()

Legacy alias for RadiusBorder. Will be removed. (inherited)

Properties

BorderBrush

public Media.Brush BorderBrush { get; set; }

No description available.

Methods

GetBorderThickness(out int left, out int top, out int right, out int bottom)

public void GetBorderThickness(out int left, out int top, out int right, out int bottom)

No description available.

ParameterTypeDescription
leftout int
topout int
rightout int
bottomout int

SetBorderThickness(int length)

public void SetBorderThickness(int length)

No description available.

ParameterTypeDescription
lengthint

SetBorderThickness(int left, int top, int right, int bottom)

public void SetBorderThickness(int left, int top, int right, int bottom)

No description available.

ParameterTypeDescription
leftint
topint
rightint
bottomint

ArrangeOverride(int arrangeWidth, int arrangeHeight)

protected override void ArrangeOverride(int arrangeWidth, int arrangeHeight)

ArrangeOverride allows for the customization of the positioning of children. (inherited)

ParameterTypeDescription
arrangeWidthint
arrangeHeightint

MeasureOverride(int availableWidth, int availableHeight, out int desiredWidth, out int desiredHeight)

protected override void MeasureOverride(int availableWidth, int availableHeight, out int desiredWidth, out int desiredHeight)

Measurement override. Implement your size-to-content logic here. (inherited)

ParameterTypeDescription
availableWidthintAvailable size that parent can give to the child. May be MaxValue(when parent wants to measure to content). This is soft constraint. Child can return bigger size to indicate that it wants bigger space and hope that parent can throw in scrolling...
availableHeightint
desiredWidthout int
desiredHeightout int

OnRender(DrawingContext dc)

public override void OnRender(DrawingContext dc)

Renders the DataGrid onto it's parent container's graphics. (inherited)

ParameterTypeDescription
dcDrawingContext