Spread for ASP.NET 9.0 Product Documentation
Text Property (MutuallyExclusiveCheckBoxCellType)
Example 


Gets or sets the text of the mutually exclusive check box.
Syntax
'Declaration
 
Public Property Text As String
'Usage
 
Dim instance As MutuallyExclusiveCheckBoxCellType
Dim value As String
 
instance.Text = value
 
value = instance.Text
public string Text {get; set;}

Property Value

String containing the text
Example
This example creates four check boxes that uncheck themselves if another is checked.
FarPoint.Web.Spread.Extender.MutuallyExclusiveCheckBoxCellType m = new FarPoint.Web.Spread.Extender.MutuallyExclusiveCheckBoxCellType();
m.Text = "One";
m.Key = "Key1";
FpSpread1.ActiveSheetView.Cells[0, 0].CellType = m;
FarPoint.Web.Spread.Extender.MutuallyExclusiveCheckBoxCellType m1 = new FarPoint.Web.Spread.Extender.MutuallyExclusiveCheckBoxCellType();
m1.Text = "Two";
m1.Key = "Key1";
FpSpread1.ActiveSheetView.Cells[0, 1].CellType = m1;
FarPoint.Web.Spread.Extender.MutuallyExclusiveCheckBoxCellType m11 = new FarPoint.Web.Spread.Extender.MutuallyExclusiveCheckBoxCellType();
m11.Text = "Three";
m11.Key = "Key1";
FpSpread1.ActiveSheetView.Cells[1, 0].CellType = m11;
FarPoint.Web.Spread.Extender.MutuallyExclusiveCheckBoxCellType m12 = new FarPoint.Web.Spread.Extender.MutuallyExclusiveCheckBoxCellType();
m12.Text = "Four";
m12.Key = "Key1";
FpSpread1.ActiveSheetView.Cells[1, 1].CellType = m12;
Dim m As New FarPoint.Web.Spread.Extender.MutuallyExclusiveCheckBoxCellType
m.Text = "One"
m.Key = "Key1"
FpSpread1.ActiveSheetView.Cells(0, 0).CellType = m

Dim m1 As New FarPoint.Web.Spread.Extender.MutuallyExclusiveCheckBoxCellType
m1.Text = "Two"
m1.Key = "Key1"
FpSpread1.ActiveSheetView.Cells(0, 1).CellType = m1

Dim m11 As New FarPoint.Web.Spread.Extender.MutuallyExclusiveCheckBoxCellType
m11.Text = "Three"
m11.Key = "Key1"
FpSpread1.ActiveSheetView.Cells(1, 0).CellType = m11

Dim m12 As New FarPoint.Web.Spread.Extender.MutuallyExclusiveCheckBoxCellType
m12.Text = "Four"
m12.Key = "Key1"
FpSpread1.ActiveSheetView.Cells(1, 1).CellType = m12
Requirements

Target Platforms: Windows 7, Windows 8, Windows 10, Windows Vista, Windows Server 2003, Windows Server 2008, Windows Server 2012, Windows XP Professional

See Also

Reference

MutuallyExclusiveCheckBoxCellType Class
MutuallyExclusiveCheckBoxCellType Members

 

 


Copyright © GrapeCity, inc. All rights reserved.