New to KendoReact? Learn about KendoReact Free.
ColorPaletteHandle
Updated on Feb 6, 2026
Represents the imperative handle exposed by the ColorPalette component through ref.
tsx
const paletteRef = useRef<ColorPaletteHandle>(null);
// Focus the palette programmatically
paletteRef.current?.focus();
// Access the wrapper element
const width = paletteRef.current?.wrapperRef.current?.offsetWidth;
<ColorPalette ref={paletteRef} palette="basic" />
| Name | Type | Default | Description |
|---|---|---|---|
focus |
|
Programmatically focuses the ColorPalette component. When called:
| |
wrapperRef |
|
A React ref to the root wrapper element of the ColorPalette. This ref can be used to access the underlying DOM element for scenarios such as:
The ref is populated after the component mounts and will be |