Class GridColumn
Represents a column in a grid list
Inherited Members
Namespace: Slipe.Client.Gui
Assembly: SlipeClient.dll
Syntax
public class GridColumn
Constructors
| Improve this Doc View SourceGridColumn(String, Single, GridList)
Create a new column
Declaration
public GridColumn(string title, float width, GridList gridList)
Parameters
| Type | Name | Description |
|---|---|---|
| String | title | |
| Single | width | |
| GridList | gridList |
Properties
| Improve this Doc View SourceAbsoluteWidth
Get and set the width of this column in absolute screen pixels
Declaration
public float AbsoluteWidth { get; set; }
Property Value
| Type | Description |
|---|---|
| Single |
ID
Get the ID of this column in the Grid
Declaration
public int ID { get; }
Property Value
| Type | Description |
|---|---|
| Int32 |
RelativeWidth
Get and set the width of this column relative to the parent Gui element
Declaration
public float RelativeWidth { get; set; }
Property Value
| Type | Description |
|---|---|
| Single |
Title
Get and set the title of this column
Declaration
public string Title { get; set; }
Property Value
| Type | Description |
|---|---|
| String |
Methods
| Improve this Doc View SourceAutoSize()
This allows you to automatically size a column to display everything in it correctly, with the most minimal width.
Declaration
public bool AutoSize()
Returns
| Type | Description |
|---|---|
| Boolean |