'Declaration Public Enum CellHorizontalAlignment Inherits System.Enum
'Usage Dim instance As CellHorizontalAlignment
public enum CellHorizontalAlignment : System.Enum
'Declaration Public Enum CellHorizontalAlignment Inherits System.Enum
'Usage Dim instance As CellHorizontalAlignment
public enum CellHorizontalAlignment : System.Enum
Member | Description |
---|---|
Center | Indicates that the cell content starts from the center in the horizontal alignment. |
General | Indicates that the horizontal alignment is based on the value type. |
Left | Indicates that the cell content starts from the left in the horizontal alignment. |
Right | Indicates that the cell content starts from the right in the horizontal alignment. |
gcSpreadSheet1.CanCellOverflow = true;
gcSpreadSheet1.Sheets[0].Cells[1, 2].HorizontalAlignment = GrapeCity.Xaml.SpreadSheet.Data.CellHorizontalAlignment.Right;
gcSpreadSheet1.Sheets[0].Cells[2, 2].HorizontalAlignment = GrapeCity.Xaml.SpreadSheet.Data.CellHorizontalAlignment.Center;
gcSpreadSheet1.Sheets[0].Cells[3, 2].HorizontalAlignment = GrapeCity.Xaml.SpreadSheet.Data.CellHorizontalAlignment.Left;
GcSpreadSheet1.CanCellOverflow = True
GcSpreadSheet1.Sheets(0).Cells(1, 2).HorizontalAlignment = GrapeCity.Xaml.SpreadSheet.Data.CellHorizontalAlignment.Right
GcSpreadSheet1.Sheets(0).Cells(2, 2).HorizontalAlignment = GrapeCity.Xaml.SpreadSheet.Data.CellHorizontalAlignment.Center
GcSpreadSheet1.Sheets(0).Cells(3, 2).HorizontalAlignment = GrapeCity.Xaml.SpreadSheet.Data.CellHorizontalAlignment.Left
System.Object
System.ValueType
System.Enum
GrapeCity.Xaml.SpreadSheet.Data.CellHorizontalAlignment