Class GridCellSqlHighlightModel
Defines rules for hilighting cells based on the sql result/value
Inheritance
System.Object
GridCellSqlHighlightModel
Namespace: Simplic.Framework.DBUI
Assembly: Simplic.Framework.DBUI.dll
Syntax
public class GridCellSqlHighlightModel : ViewModelBase
Constructors
| Improve this Doc View SourceGridCellSqlHighlightModel()
Crate hilight element
Declaration
public GridCellSqlHighlightModel()
Properties
| Improve this Doc View SourceBackgroundColor
New background color
Declaration
public Color BackgroundColor { get; set; }
Property Value
Type | Description |
---|---|
Color |
CompareColumnName
Column name which will be compared
Declaration
public string CompareColumnName { get; set; }
Property Value
Type | Description |
---|---|
System.String |
CompareValue
Value which will be compared with the column-value
Declaration
public string CompareValue { get; set; }
Property Value
Type | Description |
---|---|
System.String |
ForegroundColor
New foreground color
Declaration
public Color ForegroundColor { get; set; }
Property Value
Type | Description |
---|---|
Color |
Id
Unique id of the cell hilighting element
Declaration
public Guid Id { get; set; }
Property Value
Type | Description |
---|---|
Guid |
Methods
| Improve this Doc View SourceGetDeepCopyNewId()
Create a deep copy of the current model and generate new id's
Declaration
public GridCellSqlHighlightModel GetDeepCopyNewId()
Returns
Type | Description |
---|---|
GridCellSqlHighlightModel | Copy of the current obejct/instance |
ToString()
ToString is overriden to show correct header in CollectionEditor
Declaration
public override string ToString()
Returns
Type | Description |
---|---|
System.String | Display text in the editor |