C# Class ImageGlass.ImageListView.ImageListView.ImageListViewColumnHeader

Inheritance: ICloneable
Show file Open project: d2phap/ImageGlass Class Usage Examples

Private Properties

Property Type Description
GetDefaultText string

Public Methods

Method Description
AutoFit ( ) : void

Resizes the width of the column based on the length of the column content.

Clone ( ) : object

Creates a new object that is a copy of the current instance.

ImageListViewColumnHeader ( ) : System

Initializes a new instance of the ImageListViewColumnHeader class.

ImageListViewColumnHeader ( ColumnType type ) : System

Initializes a new instance of the ImageListViewColumnHeader class.

ImageListViewColumnHeader ( ColumnType type, int width ) : System

Initializes a new instance of the ImageListViewColumnHeader class.

ImageListViewColumnHeader ( ColumnType type, int width, int displayIndex ) : System

Initializes a new instance of the ImageListViewColumnHeader class.

ImageListViewColumnHeader ( ColumnType type, string text ) : System

Initializes a new instance of the ImageListViewColumnHeader class.

ImageListViewColumnHeader ( ColumnType type, string text, int width ) : System

Initializes a new instance of the ImageListViewColumnHeader class.

ImageListViewColumnHeader ( ColumnType type, string text, int width, int displayIndex ) : System

Initializes a new instance of the ImageListViewColumnHeader class.

ImageListViewColumnHeader ( ColumnType type, string text, int width, int displayIndex, bool visible ) : System

Initializes a new instance of the ImageListViewColumnHeader class.

ResetText ( ) : void

Resets the column text to its default value.

ShouldSerializeText ( ) : bool

Determines if the column text should be serialized.

ToString ( ) : string

Returns a System.String that represents this instance.

Private Methods

Method Description
GetDefaultText ( ColumnType type ) : string

Method Details

AutoFit() public method

Resizes the width of the column based on the length of the column content.
public AutoFit ( ) : void
return void

Clone() public method

Creates a new object that is a copy of the current instance.
public Clone ( ) : object
return object

ImageListViewColumnHeader() public method

Initializes a new instance of the ImageListViewColumnHeader class.
public ImageListViewColumnHeader ( ) : System
return System

ImageListViewColumnHeader() public method

Initializes a new instance of the ImageListViewColumnHeader class.
public ImageListViewColumnHeader ( ColumnType type ) : System
type ColumnType The type of data to display in this column.
return System

ImageListViewColumnHeader() public method

Initializes a new instance of the ImageListViewColumnHeader class.
public ImageListViewColumnHeader ( ColumnType type, int width ) : System
type ColumnType The type of data to display in this column.
width int Width in pixels of the column header.
return System

ImageListViewColumnHeader() public method

Initializes a new instance of the ImageListViewColumnHeader class.
public ImageListViewColumnHeader ( ColumnType type, int width, int displayIndex ) : System
type ColumnType The type of data to display in this column.
width int Width in pixels of the column header.
displayIndex int Display order of the column.
return System

ImageListViewColumnHeader() public method

Initializes a new instance of the ImageListViewColumnHeader class.
public ImageListViewColumnHeader ( ColumnType type, string text ) : System
type ColumnType The type of data to display in this column.
text string Text of the column header.
return System

ImageListViewColumnHeader() public method

Initializes a new instance of the ImageListViewColumnHeader class.
public ImageListViewColumnHeader ( ColumnType type, string text, int width ) : System
type ColumnType The type of data to display in this column.
text string Text of the column header.
width int Width in pixels of the column header.
return System

ImageListViewColumnHeader() public method

Initializes a new instance of the ImageListViewColumnHeader class.
public ImageListViewColumnHeader ( ColumnType type, string text, int width, int displayIndex ) : System
type ColumnType The type of data to display in this column.
text string Text of the column header.
width int Width in pixels of the column header.
displayIndex int Display order of the column.
return System

ImageListViewColumnHeader() public method

Initializes a new instance of the ImageListViewColumnHeader class.
public ImageListViewColumnHeader ( ColumnType type, string text, int width, int displayIndex, bool visible ) : System
type ColumnType The type of data to display in this column.
text string Text of the column header.
width int Width in pixels of the column header.
displayIndex int Display order of the column.
visible bool Whether the column is initially visible.
return System

ResetText() public method

Resets the column text to its default value.
public ResetText ( ) : void
return void

ShouldSerializeText() public method

Determines if the column text should be serialized.
public ShouldSerializeText ( ) : bool
return bool

ToString() public method

Returns a System.String that represents this instance.
public ToString ( ) : string
return string