Canvas class
A panel that positions children using absolute coordinates.
Guide: C# Markup guide
public class Canvas : PanelPublic Members
Section titled “Public Members”| name | description |
|---|---|
| Canvas() | The default constructor. |
| static GetBottom(…) | Gets the distance in DIPs from the canvas’s bottom edge to the element’s bottom edge. |
| static GetLeft(…) | Gets the distance in DIPs from the canvas’s left edge to the element’s left edge. |
| static GetRight(…) | Gets the distance in DIPs from the canvas’s right edge to the element’s right edge. |
| static GetTop(…) | Gets the distance in DIPs from the canvas’s top edge to the element’s top edge. |
| static SetBottom(…) | Sets the distance in DIPs from the canvas’s bottom edge to the element’s bottom edge; NaN unsets it. |
| static SetLeft(…) | Sets the distance in DIPs from the canvas’s left edge to the element’s left edge; NaN unsets it. |
| static SetRight(…) | Sets the distance in DIPs from the canvas’s right edge to the element’s right edge; NaN unsets it. |
| static SetTop(…) | Sets the distance in DIPs from the canvas’s top edge to the element’s top edge; NaN unsets it. |
See Also
Section titled “See Also”- class Panel
- namespace Aprillz.MewUI.Controls