GrapeCity.Xaml.SpreadSheet.UI
ResizeZeroIndicator Property (GcSpreadSheet)
Example 


GrapeCity.Xaml.SpreadSheet.UI Namespace > GcSpreadSheet Class : ResizeZeroIndicator Property
Specifies the drawing policy when the row or column is resized to zero.
Syntax
'Declaration
 
<DefaultValueAttribute()>
Public Property ResizeZeroIndicator As ResizeZeroIndicator
'Usage
 
Dim instance As GcSpreadSheet
Dim value As ResizeZeroIndicator
 
instance.ResizeZeroIndicator = value
 
value = instance.ResizeZeroIndicator
[DefaultValue()]
public ResizeZeroIndicator ResizeZeroIndicator {get; set;}
Remarks
The ResizeZeroIndicator property specifies whether a zero-height row or zero-width column can be resized when using a touch device.
Example
This example sets the ResizeZeroIndicator property.
GcSpreadSheet1.ResizeZeroIndicator = GrapeCity.Xaml.SpreadSheet.UI.ResizeZeroIndicator.Enhanced; 
GcSpreadSheet1.ActiveSheet.Columns[0, 5].CanUserResize = true; 
GcSpreadSheet1.ActiveSheet.Rows[0, 10].CanUserResize = true; 
GcSpreadSheet1.ActiveSheet.Columns[2].Width = 0;
GcSpreadSheet1.ResizeZeroIndicator = GrapeCity.Xaml.SpreadSheet.UI.ResizeZeroIndicator.Enhanced 
GcSpreadSheet1.ActiveSheet.Columns(0, 5).CanUserResize = True 
GcSpreadSheet1.ActiveSheet.Rows(0, 10).CanUserResize = True 
GcSpreadSheet1.ActiveSheet.Columns(2).Width = 0
See Also

Reference

GcSpreadSheet Class
GcSpreadSheet Members