Canvas Toolkit
← Class index

CStyleOptionCategoryButton

GUI and styling · extends CStyleOption

Snapshot of the segments and the composite control's interaction state.

import { CStyleOptionCategoryButton } from "canvas-toolkit-lib";

Declared members

segments: CCategoryButtonSegment[];
currentIndex: number;
hoveredIndex: number;
pressedIndex: number;
constructor(other?: CStyleOptionCategoryButton | null);