GrapeCity.Xaml.SpreadSheet.Data
ResetShrinkToFit Method (Cell)
Example 


Resets the shrink to fit setting for the cell and causes the cell to inherit the shrink to fit setting from the default cell.
Syntax
'Declaration
 
Public Sub ResetShrinkToFit() 
'Usage
 
Dim instance As Cell
 
instance.ResetShrinkToFit()
public void ResetShrinkToFit()
Example
This example uses the ResetShrinkToFit method.
gcSpreadSheet1.ActiveSheet.Cells[1, 1].Tag = "test";
gcSpreadSheet1.ActiveSheet.Cells[1, 1].TabStop = false;
gcSpreadSheet1.ActiveSheet.Cells[1, 1].Text = "Cell with tag";
gcSpreadSheet1.ActiveSheet.Cells[1, 1].ShrinkToFit = true;
//gcSpreadSheet1.ActiveSheet.Cells[1, 1].ResetTabStop();
//gcSpreadSheet1.ActiveSheet.Cells[1, 1].ResetShrinkToFit();
GcSpreadSheet1.ActiveSheet.Cells(1, 1).Tag = "test"
GcSpreadSheet1.ActiveSheet.Cells(1, 1).TabStop = False
GcSpreadSheet1.ActiveSheet.Cells(1, 1).Text = "Cell with tag"
GcSpreadSheet1.ActiveSheet.Cells(1, 1).ShrinkToFit = True
'GcSpreadSheet1.ActiveSheet.Cells(1, 1).ResetTabStop()
'GcSpreadSheet1.ActiveSheet.Cells(1, 1).ResetShrinkToFit()
Requirements

Target Platforms: Windows Server 2012, Windows RT

See Also

Reference

Cell Class
Cell Members

 

 


Copyright © GrapeCity, inc. All rights reserved.

Support Options