TSheetSelector.DrawOneSheetSelector Method
Override this method on a child class if you want to completely customize how the Sheet Selector is drawn. Normally when deriving from TStandardSheetSelector you can just change the CSS properties of this class to customize the SheetSelector, but you can use this if you want to provide a completely different selector. You can use the Links collection to know which hyperlinks to place in each place. Note that different from BeforeDrawOneSheetSelector, this method is only called for the positions where the selector has to be rendered.
Syntax
Namespace: FlexCel.Render
public abstract void DrawOneSheetSelector(ExcelFile xls, TSheetSelectorPosition Position)
Parameters
<-> | Parameter | Type | Description |
---|---|---|---|
xls | ExcelFile | ExcelFile we are exporting. It is positioned on the sheet we are exporting, but its active sheet can be changed on this method and there is no need to restore it. It will be restored by the framework. | |
Position | TSheetSelectorPosition | Position where the sheet selector will be placed. Note that this method will always be called with only one value, but it might be called more than once if constants in the TSheetSelectorPosition enumeration are or'ed together. |