Spread Windows Forms 11.0 Product Documentation
AutoSortEnhancedContextMenu Property
Example 


FarPoint.Win.Spread Assembly > FarPoint.Win.Spread Namespace > SheetView Class : AutoSortEnhancedContextMenu Property
Gets or sets whether to use the Spread's enhanced filter menu.
Syntax
'Declaration
 
Public Property AutoSortEnhancedContextMenu As Boolean
'Usage
 
Dim instance As SheetView
Dim value As Boolean
 
instance.AutoSortEnhancedContextMenu = value
 
value = instance.AutoSortEnhancedContextMenu
public bool AutoSortEnhancedContextMenu {get; set;}
Remarks
Set this property to true to display sort options in the enhanced filter menu.
Example
This example sets the AutoSortEnhancedContextMenu 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.Columns(1).AllowAutoSort = True
FpSpread1.ActiveSheet.Columns(1).AllowAutoFilter = True
FpSpread1.ActiveSheet.AutoFilterMode = FarPoint.Win.Spread.AutoFilterMode.EnhancedContextMenu
FpSpread1.ActiveSheet.AutoSortEnhancedContextMenu = True
See Also

Reference

SheetView Class
SheetView Members