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
[Display(GroupName = "Farben", Name = "Hintergrundfarbe")]
public Color BackgroundColor { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.Media.Color |
CompareColumnName
Column name which will be compared
Declaration
[Display(GroupName = "Allgemein", Name = "Vergleichsspalte (Int. Name)")]
public string CompareColumnName { get; set; }
Property Value
Type | Description |
---|---|
System.String |
CompareValue
Value which will be compared with the column-value
Declaration
[Display(GroupName = "Allgemein", Name = "Vergleiswert")]
public string CompareValue { get; set; }
Property Value
Type | Description |
---|---|
System.String |
ForegroundColor
New foreground color
Declaration
[Display(GroupName = "Farben", Name = "Vordergrundfarbe")]
public Color ForegroundColor { get; set; }
Property Value
Type | Description |
---|---|
System.Windows.Media.Color |
Id
Unique id of the cell hilighting element
Declaration
[Browsable(false)]
public Guid Id { get; set; }
Property Value
Type | Description |
---|---|
System.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 |