Summary
Sets the value of the RelativePanel.AlignVerticalCenterWithPanel XAML attached property for a target element.
- Namespace
- Avalonia
.Controls - Containing Type
- RelativePanel
Syntax
public static void SetAlignVerticalCenterWithPanel(AvaloniaObject obj, bool value)
Parameters
Name | Type | Description |
---|---|---|
obj | AvaloniaObject | The object to which the property value is written. |
value | bool | The value to set. (true to vertically center this element in the panel; otherwise, false.) |
Return Value
Type | Description |
---|---|
void |