GridViewHeader
Namespace: TagBites.WinSchedulers
Assembly: TagBites.WinSchedulers.dll
Represents an object that is used to define the layout of a row of column headers.
public class GridViewHeader
Properties
Data
Gets the object containing the data associated with the header.
public object Data { get; }
Result Type: object
Index
Gets the zero-based index of the header in a collection containing the header.
public long Index { get; }
Result Type: long
Orientation
Gets a value indicating the horizontal or vertical orientation of the header.
public Orientation Orientation { get; }
Result Type: Orientation
Shift
Gets a value indicating the shift of header in a collection containing the header.
public int Shift { get; }
Result Type: int
Size
Gets the size of header.
public int Size { get; }
Result Type: int
Methods
GetBounds(GridViewHeaderSection)
Retrieves the bounds of the display that contains the specified section.
public Rect GetBounds(GridViewHeaderSection section)
Result Type: Rect
Parameters
Type | Name | |
---|---|---|
GridViewHeaderSection | section | A that specifies the location and size for which to retrieve the display bounds. |
GetBounds(int, int)
Retrieves the bounds of the display based on specified the margin and the size.
public Rect GetBounds(int margin, int size)
Result Type: Rect
Parameters
Type | Name | |
---|---|---|
int | margin | The margin thickness of rectangle. |
int | size | The size of rectangle. |