ComponentOne True DBGrid for .NET (2.0) Search HelpCentral 

ValueItems.Presentation Property

Gets or sets the method in which cells are rendered.

[Visual Basic]

Public Property Presentation As PresentationEnum

[C#]

public PresentationEnum Presentation {get;set;}

[Delphi]

public property Presentation: PresentationEnum read get_Presentation write set_Presentation;

Example

The following code displays the allowable values as radio buttons:

·      Visual Basic

       Me.C1TrueDBGrid1.Columns("Country").ValueItems.Presentation = C1.Win.C1TrueDBGrid.PresentationEnum.RadioButton

·      C#

       this.c1TrueDBGrid1.Columns["Country"].ValueItems.Presentation = C1.Win.C1TrueDBGrid.PresentationEnum.RadioButton;

·      Delphi

       Self.C1TrueDBGrid1.Columns['Country'].ValueItems.Presentation := C1.Win.C1TrueDBGrid.PresentationEnum.RadioButton;

For more information on the Presentation property, see Displaying Allowable Values as Radio Buttons and Displaying Boolean Values as Check Boxes.

See Also

ValueItems Class | ValueItems Members | C1.Win.C1TrueDBGrid Namespace


Send comments about this topic to ComponentOne.
Copyright © ComponentOne LLC. All rights reserved.