'Declaration Public Enum CellVerticalAlignment Inherits System.Enum
'Usage Dim instance As CellVerticalAlignment
public enum CellVerticalAlignment : System.Enum
'Declaration Public Enum CellVerticalAlignment Inherits System.Enum
'Usage Dim instance As CellVerticalAlignment
public enum CellVerticalAlignment : System.Enum
Member | Description |
---|---|
Bottom | Indicates that the cell content starts from the bottom in the vertical alignment. |
Center | Indicates that the cell content starts from the center in the vertical alignment. |
Top | Indicates that the cell content starts from the top in the vertical alignment. |
gcSpreadSheet1.Sheets[0].NamedStyles.Add(new GrapeCity.Xaml.SpreadSheet.Data.StyleInfo() { Background = new SolidColorBrush(Windows.UI.Colors.Red), Name = "aaa", VerticalAlignment = GrapeCity.Xaml.SpreadSheet.Data.CellVerticalAlignment.Center} ); gcSpreadSheet1.Sheets[0].NamedStyles.Add(new GrapeCity.Xaml.SpreadSheet.Data.StyleInfo() { Background = new SolidColorBrush(Windows.UI.Colors.Blue), Name = "ParentStyle", TextIndent = 5}); gcSpreadSheet1.Sheets[0].Cells[0, 0].StyleName = "aaa"; gcSpreadSheet1.Sheets[0].Cells[0, 0].ParentStyleName = "ParentStyle";
GcSpreadSheet1.Sheets(0).NamedStyles.Add(New GrapeCity.Xaml.SpreadSheet.Data.StyleInfo() With {.Background = New SolidColorBrush(Windows.UI.Colors.Red), .Name = "aaa", .VerticalAlignment = GrapeCity.Xaml.SpreadSheet.Data.CellVerticalAlignment.Center}) GcSpreadSheet1.Sheets(0).NamedStyles.Add(New GrapeCity.Xaml.SpreadSheet.Data.StyleInfo() With {.Background = New SolidColorBrush(Windows.UI.Colors.Blue), .Name = "ParentStyle", .TextIndent = 5}) GcSpreadSheet1.Sheets(0).Cells(0, 0).StyleName = "aaa" GcSpreadSheet1.Sheets(0).Cells(0, 0).ParentStyleName = "ParentStyle"
System.Object
System.ValueType
System.Enum
GrapeCity.Xaml.SpreadSheet.Data.CellVerticalAlignment