ComponentOne True DBGrid for .NET (2.0) Search HelpCentral 

C1TrueDBGrid.CellTipsWidth Property

Gets or sets the width of the cell tip window.

[Visual Basic]

Public Property CellTipsWidth As Integer

[C#]

public int CellTipsWidth {get;set;}

[Delphi]

public property CellTipsWidth: Int32 read get_CellTipsWidth write set_CellTipsWidth;

Remarks

The CellTipsWidth property returns or sets the width of the cell tip window in pixels.

By default, this property is set to zero, which causes the cell tip window to grow or shrink to accommodate the cell tip text. Override this behavior and give the cell tip window a fixed width by specifying a non-zero value for this property.

Example

The following code uses the CellTipsWidth property to give the cell tip window a fixed width by specifying a non-zero value for this property:

·      Visual Basic

       Me.C1TrueDBGrid1.CellTipsWidth = 100

·      C#

       this.c1TrueDBGrid1.CellTipsWidth = 100;

·      Delphi

       Self.C1TrueDBGrid1.CellTipsWidth := 100;

See Also

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


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