Class Border
Draws a border, background, or both around another element.
public class Border
- Inheritance
-
Border
- Inherited Members
Properties
- ActualHeight
Gets the rendered height of this element.
- ActualWidth
Gets the rendered width of this element.
- Background
Gets or sets the Color that fills the area between the bounds of a Border.
- BorderBrush
Gets or sets the Color that draws the outer border color.
- BorderStyle
Specifies the BorderStyle for a view.
- ChildContainer
Gets or private sets by the Border.ToplevelContainer
- DrawMarginFrame
Gets or sets if a margin frame is drawn around the Child regardless the BorderStyle
- Effect3DBrush
Gets or sets the color for the Border
- Effect3DOffset
Get or sets the offset start position for the Effect3D
- Padding
Gets or sets a Thickness value that describes the amount of space between a Border and its child element.
- Title
The title to be displayed for this view.
Methods
- DrawContent(View, bool)
Drawn the BorderThickness more the Padding more the BorderStyle and the Effect3D.
- DrawFullContent()
Same as DrawContent(View, bool) but drawing full frames for all borders.
- DrawTitle(View)
Draws the view Title to the screen.
- DrawTitle(View, Rect)
Draws the Text to the screen.
- GetSumThickness()
Calculate the sum of the Padding and the BorderThickness
- OnBorderChanged()
Invoke the BorderChanged event.
Events
- BorderChanged
Invoked when any property of Border changes (except Child).