Chronos Plugins 5.9.0
This documentation covers the plugin interfaces definitions and an example implementation.
|
Example column type that allows to pick a date and time from a graphical editor. More...
Properties | |
string | InternalName [get] |
Nametag that will be used internally for storing a column of this type in the method. Do not change this once released, or the methods using this column type will no longer be usable. | |
string | VisibleName [get] |
Column type name that will be presented to the user in the method editor in the "Cell Type" column. Should be localizable. | |
IEnumerable< object > | ComboboxItems [get] |
List of possible values that can be presented to the user in a drop-down list. | |
Type | ValueType [get] |
Used for getting information which UITypeEditor, TypeConverter etc to use for your column. | |
IEnumerable< IColumnMenu > | ColumnHeaderMenu [get] |
Provide some column header menus for increasing the date in typically used steps. | |
Properties inherited from AxelSemrau.Chronos.Plugin.Columns.IColumnTypeDefinition |
Private Member Functions | |
void | IncreaseBy (IReadOnlyList< ICellAccessor > cells, Func< DateTime, DateTime > adder) |
Example column type that allows to pick a date and time from a graphical editor.
You can check with the coffee
Definition at line 21 of file DateColumn.cs.
|
private |
Definition at line 43 of file DateColumn.cs.
|
get |
Provide some column header menus for increasing the date in typically used steps.
Implements AxelSemrau.Chronos.Plugin.Columns.IColumnTypeDefinition.
Definition at line 32 of file DateColumn.cs.
|
get |
List of possible values that can be presented to the user in a drop-down list.
As stated in the class documentation: Make sure ToString() returns values that can be converted back to your object type. If you don't want to restrict the user to a given value list, use the [Editable(true)] attribute.
Implements AxelSemrau.Chronos.Plugin.Columns.IColumnTypeDefinition.
Definition at line 26 of file DateColumn.cs.
|
get |
Nametag that will be used internally for storing a column of this type in the method. Do not change this once released, or the methods using this column type will no longer be usable.
Implements AxelSemrau.Chronos.Plugin.Columns.IColumnTypeDefinition.
Definition at line 24 of file DateColumn.cs.
|
get |
Used for getting information which UITypeEditor, TypeConverter etc to use for your column.
Implements AxelSemrau.Chronos.Plugin.Columns.IColumnTypeDefinition.
Definition at line 27 of file DateColumn.cs.
|
get |
Column type name that will be presented to the user in the method editor in the "Cell Type" column. Should be localizable.
Implements AxelSemrau.Chronos.Plugin.Columns.IColumnTypeDefinition.
Definition at line 25 of file DateColumn.cs.