Spread Windows Forms 12.0 Product Documentation
AutoSortEnhancedMode Property
Example 


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > SheetView Class : AutoSortEnhancedMode Property
Gets or sets whether to use the Spread's sorting behavior in enhanced filter context menu.
Syntax
'Declaration
 
Public Property AutoSortEnhancedMode As SortingMode
'Usage
 
Dim instance As SheetView
Dim value As SortingMode
 
instance.AutoSortEnhancedMode = value
 
value = instance.AutoSortEnhancedMode
public SortingMode AutoSortEnhancedMode {get; set;}
Example
This example sets the AutoSortEnhancedMode property.
fpSpread1.ActiveSheet.Columns[1].AllowAutoSort = true;
fpSpread1.ActiveSheet.Columns[1].AllowAutoFilter = true;
fpSpread1.ActiveSheet.AutoFilterMode = FarPoint.Win.Spread.AutoFilterMode.EnhancedContextMenu;
fpSpread1.ActiveSheet.AutoSortEnhancedContextMenu = true;
fpSpread1.ActiveSheet.AutoSortEnhancedMode = FarPoint.Win.Spread.SortingMode.RangeSorting;
FpSpread1.ActiveSheet.Columns(1).AllowAutoSort = True
FpSpread1.ActiveSheet.Columns(1).AllowAutoFilter = True
FpSpread1.ActiveSheet.AutoFilterMode = FarPoint.Win.Spread.AutoFilterMode.EnhancedContextMenu
FpSpread1.ActiveSheet.AutoSortEnhancedContextMenu = True
FpSpread1.ActiveSheet.AutoSortEnhancedMode = FarPoint.Win.Spread.SortingMode.RangeSorting
See Also

Reference

SheetView Class
SheetView Members