Class NoxGridButtonColumn
Button column. Clicking it raises the grid's CellButtonClick event.
public class NoxGridButtonColumn : NoxGridColumn, IComponent, IDisposable
- Inheritance
-
NoxGridButtonColumn
- Implements
- Inherited Members
Constructors
NoxGridButtonColumn()
Creates a button column.
public NoxGridButtonColumn()
NoxGridButtonColumn(string, string)
Creates a button column with a name and header text.
public NoxGridButtonColumn(string name, string headerText)
Parameters
Properties
DefaultAlignment
Alignment of a new column of this kind.
protected override HorizontalAlignment DefaultAlignment { get; }
Property Value
DefaultSortMode
Sort mode of a new column of this kind.
protected override NoxGridColumnSortMode DefaultSortMode { get; }
Property Value
DefaultWidth
Width of a new column of this kind.
protected override int DefaultWidth { get; }
Property Value
Text
Text shown on every button when UseColumnTextForButtonValue is True. Default: empty.
public string Text { get; set; }
Property Value
UseColumnTextForButtonValue
Uses Text as the button caption instead of the cell value. Default: False.
public bool UseColumnTextForButtonValue { get; set; }
Property Value
Methods
FormatValue(object)
Converts a value to display text.
public override string FormatValue(object value)
Parameters
valueobject