Method SetHorizontalAlignment
SetHorizontalAlignment(HorizontalAlignment)
Sets the horizontal alignment of the item.
public ListControlItem SetHorizontalAlignment(HorizontalAlignment value)
Parameters
valueHorizontalAlignmentThe horizontal alignment to apply to the item. This value must be a valid member of the HorizontalAlignment enumeration.
Returns
- ListControlItem
The current ListControlItem instance with the updated horizontal alignment.
Remarks
This method supports method chaining by returning the same instance after updating the alignment.