Xceed Grid for WinForms v4.3 Documentation
FitSizeToCell Property


Xceed.Grid.v4.3 Assembly > Xceed.Grid.Editors Namespace > CheckBoxEditor Class : FitSizeToCell Property
Gets or sets a boolean value indicating if the control should completely occupy the cell.
Syntax
'Declaration
 
<DescriptionAttribute("Indicates if the control should completely occupy the cell.")>
<CategoryAttribute("Appearance")>
Public Property FitSizeToCell As Boolean
'Usage
 
Dim instance As CheckBoxEditor
Dim value As Boolean
 
instance.FitSizeToCell = value
 
value = instance.FitSizeToCell
[Description("Indicates if the control should completely occupy the cell.")]
[Category("Appearance")]
public bool FitSizeToCell {get; set;}

Property Value

true if the control should completely occupy the cell; false otherwise. By default, DefaultFitSizeToCell.
Remarks

If true, the check box's state (checked/unchecked) will change wherever the users clicks in the cell. If false, the check box will only occupy a 13 by 13 rectangle that will let the cell's background show and the check will change only if you click on the check box.

Requirements

Target Platforms: Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

CheckBoxEditor Class
CheckBoxEditor Members