RelativePanel Class
Definition
Defines an area within which you can position and align child objects in relation to each other or the parent panel.
public class RelativePanel
Constructors
| Name | Description |
|---|---|
| RelativePanel | No summary available. |
RelativePanel Constructor
public RelativePanel()
Methods
| Name | Description |
|---|---|
| AddHandler (2 overloads) | Adds a handler for the specified routed event. Inherited from Interactive. |
| ApplyStyling | Applies styling to the control if the control is initialized and styling is not already applied. Inherited from StyledElement. |
| ApplyTemplate | Creates the visual children of the control, if necessary Inherited from Layoutable. |
| Arrange | Arranges the control and its children. Inherited from Layoutable. |
| BeginInit | Inherited from StyledElement. |
| Bind (8 overloads) | Binds a Avalonia.AvaloniaProperty to an Avalonia.Data.BindingBase. Inherited from AvaloniaObject. |
| CheckAccess | Returns a value indicating whether the current thread is the UI thread. Inherited from AvaloniaObject. |
| ClearValue (4 overloads) | Clears a Avalonia.AvaloniaProperty's local value. Inherited from AvaloniaObject. |
| CoerceValue | Coerces the specified Avalonia.AvaloniaProperty. Inherited from AvaloniaObject. |
| EndInit | Inherited from StyledElement. |
| Equals | Compares two objects using reference equality. Inherited from AvaloniaObject. |
| Focus | Focuses the control. Inherited from InputElement. |
| GetAbove | Gets the value of the RelativePanel.Above XAML attached property for the target element. |
| GetAlignBottomWith | Gets the value of the RelativePanel.AlignBottomWith XAML attached property for the target element. |
| GetAlignBottomWithPanel | Gets the value of the RelativePanel.AlignBottomWithPanel XAML attached property for the target element. |
| GetAlignHorizontalCenterWith | Gets the value of the RelativePanel.AlignHorizontalCenterWith XAML attached property for the target element. |
| GetAlignHorizontalCenterWithPanel | Gets the value of the RelativePanel.AlignHorizontalCenterWithPanel XAML attached property for the target element. |
| GetAlignLeftWith | Gets the value of the RelativePanel.AlignLeftWith XAML attached property for the target element. |
| GetAlignLeftWithPanel | Gets the value of the RelativePanel.AlignLeftWithPanel XAML attached property for the target element. |
| GetAlignRightWith | Gets the value of the RelativePanel.AlignRightWith XAML attached property for the target element. |
| GetAlignRightWithPanel | Gets the value of the RelativePanel.AlignRightWithPanel XAML attached property for the target element. |
| GetAlignTopWith | Gets the value of the RelativePanel.AlignTopWith XAML attached property for the target element. |
| GetAlignTopWithPanel | Gets the value of the RelativePanel.AlignTopWithPanel XAML attached property for the target element. |
| GetAlignVerticalCenterWith | Gets the value of the RelativePanel.AlignVerticalCenterWith XAML attached property for the target element. |
| GetAlignVerticalCenterWithPanel | Gets the value of the RelativePanel.AlignVerticalCenterWithPanel XAML attached property for the target element. |
| GetBaseValue | Inherited from AvaloniaObject. |
| GetBelow | Gets the value of the RelativePanel.Below XAML attached property for the target element. |
| GetFlowDirection | Gets the value of the attached Avalonia.Visual.FlowDirectionProperty on a control. Inherited from Visual. |
| GetHashCode | Gets the hash code for the object. Inherited from AvaloniaObject. |
| GetIsHoldingEnabled | Inherited from InputElement. |
| GetIsHoldWithMouseEnabled | Inherited from InputElement. |
| GetLeftOf | Gets the value of the RelativePanel.LeftOf XAML attached property for the target element. |
| GetRightOf | Gets the value of the RelativePanel.RightOf XAML attached property for the target element. |
| GetValue (3 overloads) | Gets a Avalonia.AvaloniaProperty value. Inherited from AvaloniaObject. |
| InvalidateArrange | Invalidates the arrangement of the control and queues a new layout pass. Inherited from Layoutable. |
| InvalidateMeasure | Invalidates the measurement of the control and queues a new layout pass. Inherited from Layoutable. |
| InvalidateVisual | Invalidates the visual and queues a repaint. Inherited from Visual. |
| IsAnimating | Checks whether a Avalonia.AvaloniaProperty is animating. Inherited from AvaloniaObject. |
| IsSet | Checks whether a Avalonia.AvaloniaProperty is set on this object. Inherited from AvaloniaObject. |
| Measure | Carries out a measure of the control. Inherited from Layoutable. |
| RaiseEvent | Raises a routed event. Inherited from Interactive. |
| RemoveHandler (2 overloads) | Removes a handler for the specified routed event. Inherited from Interactive. |
| Render | Renders the visual to a Avalonia.Media.DrawingContext. Inherited from Panel. |
| SetAbove | Sets the value of the RelativePanel.Above XAML attached property for a target element. |
| SetAlignBottomWith | Sets the value of the RelativePanel.Above XAML attached property for a target element. |
| SetAlignBottomWithPanel | Sets the value of the RelativePanel.Above XAML attached property for a target element. |
| SetAlignHorizontalCenterWith | Sets the value of the RelativePanel.Above XAML attached property for a target element. |
| SetAlignHorizontalCenterWithPanel | Sets the value of the RelativePanel.Above XAML attached property for a target element. |
| SetAlignLeftWith | Sets the value of the RelativePanel.Above XAML attached property for a target element. |
| SetAlignLeftWithPanel | Sets the value of the RelativePanel.Above XAML attached property for a target element. |
| SetAlignRightWith | Sets the value of the RelativePanel.AlignRightWith XAML attached property for a target element. |
| SetAlignRightWithPanel | Sets the value of the RelativePanel.Above XAML attached property for a target element. |
| SetAlignTopWith | Sets the value of the RelativePanel.AlignTopWith XAML attached property for a target element. |
| SetAlignTopWithPanel | Sets the value of the RelativePanel.AlignTopWithPanel XAML attached property for a target element. |
| SetAlignVerticalCenterWith | Sets the value of the RelativePanel.AlignVerticalCenterWith XAML attached property for a target element. |
| SetAlignVerticalCenterWithPanel | Sets the value of the RelativePanel.AlignVerticalCenterWithPanel XAML attached property for a target element. |
| SetBelow | Sets the value of the RelativePanel.Above XAML attached property for a target element. |
| SetCurrentValue (2 overloads) | Sets the value of a dependency property without changing its value source. Inherited from AvaloniaObject. |
| SetFlowDirection | Sets the value of the attached Avalonia.Visual.FlowDirectionProperty on a control. Inherited from Visual. |
| SetIsHoldingEnabled | Inherited from InputElement. |
| SetIsHoldWithMouseEnabled | Inherited from InputElement. |
| SetLeftOf | Sets the value of the RelativePanel.LeftOf XAML attached property for a target element. |
| SetRightOf | Sets the value of the RelativePanel.RightOf XAML attached property for a target element. |
| SetValue (3 overloads) | Sets a Avalonia.AvaloniaProperty value. Inherited from AvaloniaObject. |
| TryGetResource | Inherited from StyledElement. |
| UpdateLayout | Executes a layout pass. Inherited from Layoutable. |
| VerifyAccess | Checks that the current thread is the UI thread and throws if not. Inherited from AvaloniaObject. |
GetAbove Method
Gets the value of the RelativePanel.Above XAML attached property for the target element.
public object GetAbove(Avalonia.AvaloniaObject obj)
Parameters
The object from which the property value is read.
Returns
object
The RelativePanel.Above XAML attached property value of the specified object. (The element to position this element above.)
GetAlignBottomWith Method
Gets the value of the RelativePanel.AlignBottomWith XAML attached property for the target element.
public object GetAlignBottomWith(Avalonia.AvaloniaObject obj)
Parameters
The object from which the property value is read.