Spread for ASP.NET 10 Product Documentation
SpreadImages Enumeration
Example Example 


Represents identifiers for custom images in the component.
Syntax
'Declaration
 
Public Enum SpreadImages 
   Inherits System.Enum
'Usage
 
Dim instance As SpreadImages
public enum SpreadImages : System.Enum 
Members
MemberDescription
CollapseSpecifies the identifier for the image for the collapse icon in hierarchical displays in the component.
ExpandSpecifies the identifier for the image for the expand icon in hierarchical displays in the component.
FilterBarEditingIndicatorSpecifies the image for the filter bar indicator when editing a filter.
FilteredDropDownIndicatorSpecifies the image for the filtered drop down indicator.
FilteredSortAscendingDropDownIndicatorSpecifies the image for the filtered drop down indicator.
FilteredSortDescendingDropDownIndicatorSpecifies the image for the filtered drop down indicator.
FrozenIndicatorSpecifies the identifier for the image for the frozen indicator.
SortAscendingSpecifies the identifier for the image for the sort indicator (for ascending sorts) in the component.
SortDescendingSpecifies the identifier for the image for the sort indicator (for descending sorts) in the component.
UnfilteredDropDownIndicatorSpecifies the image for the unfiltered drop down indicator.
Example
This example uses the SpreadImages enumeration.
FpSpread1.ActiveSheetView.AutoFilterMode = FarPoint.Web.Spread.AutoFilterMode.FilterBar;
FpSpread1.SetImage(FarPoint.Web.Spread.SpreadImages.UnfilteredDropDownIndicator, "http://www.componentone.com/newimages/Products/Icons/wijmo_icon_16x16.png");
//string s;
//s = FpSpread1.GetImage(FarPoint.Web.Spread.SpreadImages.UnfilteredDropDownIndicator);
//Response.Write(s);
FpSpread1.ActiveSheetView.AutoFilterMode = FarPoint.Web.Spread.AutoFilterMode.FilterBar
FpSpread1.SetImage(FarPoint.Web.Spread.SpreadImages.UnfilteredDropDownIndicator, "http://www.componentone.com/newimages/Products/Icons/wijmo_icon_16x16.png")
'Dim s As String
's = FpSpread1.GetImage(FarPoint.Web.Spread.SpreadImages.UnfilteredDropDownIndicator)
'Response.Write(s)
Inheritance Hierarchy

System.Object
   System.ValueType
      System.Enum
         FarPoint.Web.Spread.SpreadImages

Requirements

Target Platforms: Windows 7, Windows 8, Windows 10, Windows Vista, Windows Server 2003, Windows Server 2008, Windows Server 2012, Windows XP Professional

See Also

Reference

FarPoint.Web.Spread Namespace

 

 


Copyright © GrapeCity, inc. All rights reserved.