Spread for ASP.NET 8.0 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 Vista, Windows Server 2000, Windows 2000 Professional, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6

See Also

Reference

FarPoint.Web.Spread Namespace

 

 


Copyright © GrapeCity, inc. All rights reserved.