TStandardSheetSelector.DrawOneSheetSelector Method
This method overrides the abstract parent to provide a CSS implementation for tabs. Override this method on a child class if you want to completely customize how the Sheet Selector is drawn. Normally 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 TSheetSelector.Links collection to know which hyperlinks to place in each place.
Syntax
Namespace: FlexCel.Render
public override 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. |