VerticalAlignment Enum

Summary

Defines how a control aligns itself vertically in its parent control.
Namespace
Avalonia.Layout
Interfaces
  • IComparable
  • IFormattable
  • IConvertible
Base Types
  • object
  • ValueType
  • Enum
graph BT Type-->Base0["Enum"] Base0-->Base1["ValueType"] Base1-->Base2["object"] Type-.->Interface0["IComparable"] Type-.->Interface1["IFormattable"] Type-.->Interface2["IConvertible"] Type["VerticalAlignment"] class Type type-node

Syntax

public enum VerticalAlignment

Fields

Name Constant Value Summary
Bottom 3
The control aligns itself to the bottom of the parent control.
static
Center 2
The control centers itself within the parent control.
static
Stretch 0
The control stretches to fill the height of the parent control.
static
Top 1
The control aligns itself to the top of the parent control.
static

Extension Methods