See Also

CheckButton Class  | CheckButton Members

Language

Visual Basic

C#

Show All

See Also Languages ActiveReports.Viewer Send feedback to Data Dynamics

CheckState Property

Gets or sets a value that determines the current state of a CheckButton tool.

[Visual Basic]
Public Property CheckState As CheckState
[C#]
public CheckState CheckState {get; set;}

Return Type

A System.Windows.Forms.CheckState value that represents the current state of the tool.  Default is CheckState.Unchecked.

Example

[C#] 

DataDynamics.ActiveReports.Toolbar.CheckButton chk = New DataDynamics.ActiveReports.Toolbar.CheckButton(); 
chk.ButtonStyle = DataDynamics.ActiveReports.Toolbar.ButtonStyle.TextAndIcon; 
chk.Caption = "Check it out!"; 
chk.CheckState = CheckState.Unchecked; 
chk.Id = 777; 
arv.Toolbar.Tools.Insert(1, chk);

[Visual Basic] 

Dim chk As New DataDynamics.ActiveReports.Toolbar.CheckButton
chk.ButtonStyle = DataDynamics.ActiveReports.Toolbar.ButtonStyle.TextAndIcon
chk.Caption = "Check it out!"
chk.CheckState = CheckState.Unchecked
chk.Id = 777
arv.Toolbar.Tools.Insert(1, chk)

See Also

CheckButton Class  | CheckButton Members

 

 


Copyright © 2004-2005 Data Dynamics, Ltd. All rights reserved.