Contains extension methods for Align.
Methods
public static Align BottomAligned(Align align)
Sets the Align object to be bottom aligned.
Parameters:
align (Align)The
Align object.Returns:
The same instance so that multiple calls can be chained.
public static Align Height(Align align, int? height)
Sets the height.
Parameters:
align (Align)The
Align object.height (int?)The height, or
null for no explicit height.Returns:
The same instance so that multiple calls can be chained.
public static Align MiddleAligned(Align align)
Sets the Align object to be middle aligned.
Parameters:
align (Align)The
Align object.Returns:
The same instance so that multiple calls can be chained.
public static Align TopAligned(Align align)
Sets the Align object to be top aligned.
Parameters:
align (Align)The
Align object.Returns:
The same instance so that multiple calls can be chained.
public static Align VerticalAlignment(Align align, VerticalAlignment? vertical)
Sets the vertical alignment.
Parameters:
align (Align)The
Align object.vertical (VerticalAlignment?)The vertical alignment, or
null for no vertical alignment.Returns:
The same instance so that multiple calls can be chained.
public static Align Width(Align align, int? width)
Sets the width.
Parameters:
align (Align)The
Align object.width (int?)The width, or
null for no explicit width.Returns:
The same instance so that multiple calls can be chained.