The main child layout properties
- Be careful when writing code that uses ActualHeight and ActualWidth (or RenderSize)! Layout occurs asynchronously, so you can’t rely on the values of these properties at all times. It’s safe to access them only within an event handler for the LayoutUpdated event defined on UIElement.
- Margin and Padding have 1, 2 or 4 values(Left,Top,Right,Bottom).
Visibility
- Visible : The element is rendered and participates in layout.
- Collapsed : The element is invisible and does not participate in layout.
- Hidden : The element is invisible yet still participates in layout.
댓글
댓글 쓰기