ComponentOne True DBGrid for .NET (2.0) Search HelpCentral 

PrintInfo.OwnerDrawPageHeader Property

Gets or sets a value indicating whether the page header is owner-drawn.

[Visual Basic]

Public Property OwnerDrawPageHeader As Boolean

[C#]

public bool OwnerDrawPageHeader {get;set;}

[Delphi]

public property OwnerDrawPageHeader: Boolean read get_OwnerDrawPageHeader write set_OwnerDrawPageHeader;

Example

The following code raises the C1TrueDBGrid.OwnerDrawPageHeader event:

·      Visual Basic

       Me.C1TrueDBGrid1.PrintInfo.OwnerDrawPageHeader = True

·      C#

       this.c1TrueDBGrid1.PrintInfo.OwnerDrawPageHeader = true;

·      Delphi

       Self.C1TrueDBGrid1.PrintInfo.OwnerDrawPageHeader := True;

See Also

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


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