Spread Windows Forms 11.0 Product Documentation
AllowResize Property (ComboDropDownInfo)
Example 


GrapeCity.Win.PluginInputMan Assembly > GrapeCity.Win.Spread.InputMan.CellType Namespace > ComboDropDownInfo Class : AllowResize Property
Gets or sets whether the user can change the size of the drop-down window with a size grip.
Syntax
'Declaration
 
Public Shadows Property AllowResize As Boolean
'Usage
 
Dim instance As ComboDropDownInfo
Dim value As Boolean
 
instance.AllowResize = value
 
value = instance.AllowResize
public new bool AllowResize {get; set;}

Property Value

A bool value, true if the drop-down window can be resized by a size grip; otherwise, false.
Example
This example prevents you from resizing the drop-down list.
GrapeCity.Win.Spread.InputMan.CellType.GcComboBoxCellType gccombo = new GrapeCity.Win.Spread.InputMan.CellType.GcComboBoxCellType();
gccombo.DropDownStyle = ComboBoxStyle.DropDownList;
gccombo.DropDown.AllowResize = false;
gccombo.Items.AddRange(new string[] { "Feta", "Havarti", "Swiss" });
fpSpread1.Sheets[0].Cells[1, 1].CellType = gccombo;
Dim gccombo As New GrapeCity.Win.Spread.InputMan.CellType.GcComboBoxCellType()
gccombo.DropDownStyle = ComboBoxStyle.DropDownList
gccombo.DropDown.AllowResize = False
gccombo.Items.AddRange(New String() {"Feta", "Havarti", "Swiss"})
fpSpread1.Sheets(0).Cells(1, 1).CellType = gccombo
See Also

Reference

ComboDropDownInfo Class
ComboDropDownInfo Members