Spread ASP.NET 14
FarPoint.Web.Spread Assembly / FarPoint.Web.Spread Namespace / SpreadImages Enumeration
Example Example


In This Topic
    SpreadImages Enumeration
    In This Topic
    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

    See Also