Show / Hide Table of Contents

Class GridColumn

Represents a column in a grid list

Inheritance
Object
GridColumn
Inherited Members
Object.Equals(Object)
Object.Equals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Object.ReferenceEquals(Object, Object)
Object.ToString()
Namespace: Slipe.Client.Gui
Assembly: SlipeClient.dll
Syntax
public class GridColumn

Constructors

| Improve this Doc View Source

GridColumn(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 Source

AbsoluteWidth

Get and set the width of this column in absolute screen pixels

Declaration
public float AbsoluteWidth { get; set; }
Property Value
Type Description
Single
| Improve this Doc View Source

ID

Get the ID of this column in the Grid

Declaration
public int ID { get; }
Property Value
Type Description
Int32
| Improve this Doc View Source

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
| Improve this Doc View Source

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 Source

AutoSize()

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
  • Improve this Doc
  • View Source
Back to top Generated by DocFX