Gets or sets a value indicating whether data values are translated using matching ValueItem.
[Visual Basic]
Public Property Translate As Boolean
[C#]
public bool Translate {get;set;}
[Delphi]
public property Translate: Boolean read get_Translate write set_Translate;
Remarks
If True, data values that match the ValueItem.Value property of a ValueItem are displayed using the corresponding ValueItem.DisplayValue setting. The ValueItem.DisplayValue property may contain either text or graphics.
If False (the default), no translation is performed.
Example
The following code translates ValueItem.Value using their matching ValueItem.DisplayValue property:
Me.C1TrueDBGrid1.Columns("Country").ValueItems.Translate = True
· C#
this.c1TrueDBGrid1.Columns["Country"].ValueItems.Translate = true;
· Delphi
Self.C1TrueDBGrid1.Columns['Country'].ValueItems.Translate := True;
See Also
ValueItems Class | ValueItems Members | C1.Win.C1TrueDBGrid Namespace
Send comments about this topic to ComponentOne. Copyright © ComponentOne LLC. All rights reserved. |